Forum Discussion
Filtered by certain slicer
- 4 years ago
Hi Anonymous ,
Please try the following formula:
Measure = CALCULATE ( [Measure_Rank], REMOVEFILTERS ( 'Table'[Pcode] ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I am not sure if I uderstood your question correctly, but please try the below measure.
Measure_Rank =
VAR newtable =
CALCULATETABLE (
SUMMARIZE ( ALLSELECTED ( 'Table' ), 'Table'[Customer ID] ),
REMOVEFILTERS ( 'Table'[Pcode] )
)
RETURN
RANKX ( newtable, [Frequency],, ASC ) - 1
- Anonymous4 years agoNot applicable
Jihwan_Kim Really really thank you, it works. it's exactly what I want!
However, I found that I have to lock measure Frequency too, otherwise the result will be weird.
I tried a similar way, but cannot, could you help me again? (  ̄十 ̄)Frequency = DISTINCTCOUNT('Table'[Date])Thanks so much
- v-kkf-msft4 years agoCommunity Support
Hi Anonymous ,
Please try the following formula:
Measure = CALCULATE ( [Measure_Rank], REMOVEFILTERS ( 'Table'[Pcode] ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.