Forum Discussion
Prashant_123
1 year agoHelper I
Power BI Dax Formula
I want to use Rank function so basically I want to rank on basis of Amout the amount which is highest it should be rank 1 but I also want monthwise means if in jan 2024 - 400 - Rank 1, 300- rank 2,,,...
Bibiano_Geraldo
1 year agoSuper User
HI Prashant_123 ,
Please try the bellow DAX:
Rank Measure =
RANKX(
ALL(financials),
CALCULATE(
[Sales Amount],
ALLEXCEPT(financials, financials[Month-Year])
),
,
DESC,
DENSE
)
Prashant_123
1 year agoHelper I
Failed to resolve name 'financials'. It is not a valid table, variable, or function name.
What is this please be tell me ehat is the option
- Bibiano_Geraldo1 year agoSuper User
Hi Prashant_123 ,
Replace the table and columns names with your owns.
This financials is not valid for you, because it is in my source data.