Forum Discussion
Top 10
- 5 years ago
Hi, sks2701
It’s my pleasure to answer for you.
According to your description,I think you can create a measure, then use it in filter pane.
Like this:
Measure = VAR tab = TOPN ( 10, CALCULATETABLE ( DISTINCT ( 'Table1'[value] ), FILTER ( ALL ( Table1 ), [Range] = MAX ( Table1[range] ) ) ), [Value] ) RETURN IF ( MAX ( Table1[value] ) IN tab, 1, 0 )Here is my sample .pbix file.Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, sks2701
It’s my pleasure to answer for you.
According to your description,I think you can create a measure, then use it in filter pane.
Like this:
Measure =
VAR tab =
TOPN (
10,
CALCULATETABLE (
DISTINCT ( 'Table1'[value] ),
FILTER ( ALL ( Table1 ), [Range] = MAX ( Table1[range] ) )
),
[Value]
)
RETURN
IF ( MAX ( Table1[value] ) IN tab, 1, 0 )Here is my sample .pbix file.Hope it helps.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
thank you