Start Free Trial

Alteryx Designer Desktop Discussions

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

Billboard data analysis

koentje
5 - Atom

So I have a large datafile which contains the billboard data per week since the 1960's. this is the structure of the data:

 

koentje_0-1623245932595.png

 

 

As you can see i have filtered on weeks_on_chart showing that 1 album can have multiple entries. I would like to find the highest "weeks on chart" value per variable and output this into a new file which has only 1 entry per album which contains the album entry of the initial file that had the highest weeks on chart. However,  I am struggling with the way on how to do this, any suggestions?

3 REPLIES 3
Maskell_Rascal
13 - Pulsar

Hi @koentje 

 

It sounds like the Summarize tool would be what you need here. You can do a Group By on the Title & Artist fields, and then select the Max Week_On_Chart. 

 

Sample Data:

Maskell_Rascal_0-1623249737492.png

 

Output from Summarize tool:

Maskell_Rascal_1-1623249768385.png

 

Cheers!

Phil

koentje
5 - Atom

does not work properly sadly... when I do that the results do not show the highest on the chart as when I filter descending the highest weeks on chart comes at 500 but as can be seen from my example it is 958

Maskell_Rascal
13 - Pulsar

@koentje Not sure why it would be doing that. If can provide the file in question or some sample data, I can take a look at it. 

Labels
Top Solution Authors