Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Group by one column and sum up the values in other column and find the mean values.

KRISHNABOMMU
Astéroïde

Hi,

 

I have a requirement in designer desktop. i would like to know how to group by one column say Staff Title column, then sum up the values in other column say ' Staff Total pay' column and find the mean of the Staff total pay for each title.

 

Thanks,

Krishna

6 RÉPONSES 6
Qiu
21 - Polaris
21 - Polaris

@KRISHNABOMMU 
Most likely you can use a Summarize tool.

But it would be better you can share some sample input and output.

KRISHNABOMMU
Astéroïde

Thank you!  Yes, i did used the summarize to group by title and averaged the total pay and the results are good. Now i want to display the first 10 Job titles when the averaged total pay is arranged in descending order.

 

Basically, i need to pick the top 10 job titles that pays the most.

KRISHNABOMMU
Astéroïde

attached how the input looks like 

KRISHNABOMMU
Astéroïde

i think i got the desired output using SUmmarize tool. thank you very much!

Qiu
21 - Polaris
21 - Polaris

For below situation, we can use a Sort tool to Decending order for the payment then use Sample too to pick the first 10 job Titles.

Basically, i need to pick the top 10 job titles that pays the most.


 

KRISHNABOMMU
Astéroïde

Thank you Qiu! 

Étiquettes
Auteurs des meilleures solutions