Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
Can anyone guide me how to make top 10 business process type dynamic?
please refer to the below image -
In the above image top 10 business process type is showing..I want to give an option where user can select business process type as per their choice. It may be top 5, 6,9 etc..
Thanks for help!
Hi @Anonymous,
Can you please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@Anonymous , Not very clear.
You can Create TOP N with what if
@amitchandak , I tried by following the link you have shared but it's not working.
measure that I am using-
HI @Anonymous,
It should help if you provide a pbix file with some dummy data to test.
Regards,
Xiaoxin Sheng
Hello @Anonymous , I could do the dynamic top N selection. But the problem I am facing is it's working only on List or on dropdown.
I want to do it on slider. But not working...
The measure I am using is =
HI @Anonymous,
I think this should be related to selectedvalue function that you used to extract current data.
If you do not add 'alternateResult' in this function, it will return blank if the current selection equal to multiple values. (slider mode normally pick up the range of values)
SELECTEDVALUE function - DAX | Microsoft Docs
You can try to use the following measure formula if it works for your scenario:
TOPN_BP =
VAR SelectedTop =
SELECTEDVALUE ( TopN[TopN], MAX ( TopN[TopN] ) )
RETURN
SWITCH (
TRUE (),
SelectedTop = 0, [Measure],
RANKX ( ALLSELECTED ( Table[field] ), [Measure] ) <= SelectedTop, [Measure]
)
Regards,
Xiaoxin Sheng