Forum Discussion
DAX Row Number based on two columns (Calculated Column)
- Anonymous7 years ago
Hi,
I may understand you correctly. I have 2 calculated columns for rank:
Rank All column by amount:
Rank All = (RANKX(Q3,Q3[Amount],,DESC,Skip))
Another rank is by MonthYear:
Rank by MonthYear = (RANKX(
FILTER(Q3,Q3[MonthYear] = EARLIER(Q3[MonthYear])),
Q3[Amount],,DESC,Skip))
I hope this help and solve your problem. Thanks.
Duc
Hi,
I may understand you correctly. I have 2 calculated columns for rank:
Rank All column by amount:
Rank All = (RANKX(Q3,Q3[Amount],,DESC,Skip))
Another rank is by MonthYear:
Rank by MonthYear = (RANKX(
FILTER(Q3,Q3[MonthYear] = EARLIER(Q3[MonthYear])),
Q3[Amount],,DESC,Skip))
I hope this help and solve your problem. Thanks.
Duc