Forum Discussion
Stemar_Aubert
Resolver I
6 years agoRun RANKX on partial data, and keep ranking in filtered tables visuals.
Hello everyone, I have a question regarding RANKX(). My report consists of a leaderboard ranking different Districts based on a calculated measure (YoY Growth in %). The tricky thing is that I mu...
- 6 years ago
You may modify your measure using dax below and check if it can meet your requirement:
Rank = IF ( HASONEVALUE ( Local[DISTRICT] ), RANKX ( FILTER ( Local, Local[Custom] = 0 && Local[DDISTRICT] = EARLIER ( Local[DISTRICT] ) ), FPins[PINS YTD YoY Δ] ), "-" )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yuta-msft
Community Support
6 years ago
You may modify your measure using dax below and check if it can meet your requirement:
Rank =
IF (
HASONEVALUE ( Local[DISTRICT] ),
RANKX (
FILTER (
Local,
Local[Custom] = 0
&& Local[DDISTRICT] = EARLIER ( Local[DISTRICT] )
),
FPins[PINS YTD YoY Δ]
),
"-"
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.