Forum Discussion
adelimont
8 years agoRegular Visitor
Rank top 10 data within each month
I'm new to Power BI and DAX and I haven't been able to find a solution to my problem. I have a table organized with Job #, Month, Data. I would like to be able to add a column to rank the data wi...
- 8 years ago
HI adelimont
Try this column
Rank Revenue by Month = RANKX ( FILTER ( 'YTD', 'YTD'[Month] = EARLIER ( 'YTD'[Month] ) ), 'YTD'[Revenue], , DESC, DENSE )
Phil_Seamark
Microsoft Employee
8 years agoHi adelimont
This calculated column will be pretty close. Let me know if you would like this as a calculated measure
Rank Revenue as Column =
RANKX(
FILTER(
'2018 YTD',
'2018 YTD'[Month] = EARLIER('2018 YTD'[Month])),
'2018 YTD'[Revenue]
)