Forum Discussion

StefanM's avatar
StefanM
Icon for Helper II rankHelper II
6 years ago
Solved

Top N per date in a chart

Hello PBI community! I'm trying to show the most common categories based on a charts drilled down selection. So if it's drilled all the way down to individual dates, then the chart displays the to...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I think you are looking for this:

     

    Calculated column: 

     

    Rank =
    RANKX(FILTER('Table','Table'[Date]=EARLIER('Table'[Date])),'Table'[Quantity])
     
    At least that took me from your table 2 to table 3 🙂