Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

The RANKX function error : When I apply filter conditions, the rankings become disordered.

Initially, I thought the formula for the measure might be incorrect. However, when I randomly selected a table and refreshed it, the rankings returned to normal.

 

But when applying filter conditions again, the rankings become disordered (e.g., 2, 2, 3, 4, 5, 5). Strangely, randomly refreshing the data source fixes the issue again.
 
This is the formula:
                    IF(HASONEVALUE('TableA'[column1]),
                    RANKX(
                    ALLSELECTED('TableA'[column1],'TableA'[column2]),
                    Measure1,,
                    DESC,
                    Skip))
Status: New