Forum Discussion
RANK Dax issues!
- Anonymous1 year ago
Since I don't know what your data looks like, please try creating a measure to calculate the rank using the following DAX to see if that helps.
RankAfterDate = VAR SpecificDate = DATE(2024, 8, 9) RETURN RANKX( FILTER( ALL('YourTable'), 'YourTable'[DateColumn] > SpecificDate ), CALCULATE(SUM('YourTable'[SumColumn])), , DESC, DENSE )If it doesn't work, please provide some sample data, and remember to protect your data privacy in the sample data.
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Since I don't know what your data looks like, please try creating a measure to calculate the rank using the following DAX to see if that helps.
RankAfterDate =
VAR SpecificDate = DATE(2024, 8, 9)
RETURN
RANKX(
FILTER(
ALL('YourTable'),
'YourTable'[DateColumn] > SpecificDate
),
CALCULATE(SUM('YourTable'[SumColumn])),
,
DESC,
DENSE
)
If it doesn't work, please provide some sample data, and remember to protect your data privacy in the sample data.
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jordanwhite161 year agoRegular Visitor
Thank you very much! This worked for me!