Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Weighted average data manipulation across many fields

User4587
5 - Atom

Hi all - can anyone help me with the below?

 

I have a dataset with 200+ fields (some numeric fields, some text fields) and there are multiple rows for some companies included in the dataset. 

 

I need to summarise the data for each unique combination of Company and reporting date. In particular, I need to, for each unique combination of Company and reporting date:

- calculate the weighted average (weighted by a monetary amount) for every numeric field; and

- select the text value for the record with the highest monetary amount for every text field. 

 

What would be the most efficient way to do this? I'm expecting there to be a few stages rather than one magic solution - but am struggling to come up with an easy way to do this. 

 

I've attached a brief extract of what the data looks like to help visually (this is dummy data and not the actual data as I cannot share that), as well as what the desired output would look like. 

 

Any help would be appreciated!

1 REPLY 1
TrevorS
Alteryx Alumni (Retired)

Hello @User4587 

Can you please include a copy of your workflow with what you have attempted so far?

This will assist the community with just how to troubleshoot your issue.

Thank you!

TrevorS

Community Moderator
Labels
Top Solution Authors