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.
SOLVED

Ranking highest amount based on sub-category and main-category

hongen909
5 - Atom

Hi all,

 

I have the following sample dataset:

SourceVoucher NumberAmount
AP-001100150
AP-0011002100
AP-0011002150
AP-0022001300
AP-0022001100
AP-0022002500
AP-0022002200
AP-003300150
AP-003300110
AP-003300240
AP-0033003100
AP-0033003250

 

I would like to summarize the above by grouping and ranking the highest total amount based on "Voucher Number" then further group to "Source".

 

For example, I would like the result as below:

SourceVoucher NumberAmount
AP-0022002700
AP-0033003350
AP-0011002250

 

Thanks in advance!

2 REPLIES 2
binuacs
21 - Polaris

@hongen909 One way of doing this

image.png

hongen909
5 - Atom

Thank you very much!

Labels
Top Solution Authors