This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I am trying to create a top N filter based on parameter. The parameter i have created is called Rank selection but i am not able to find a way to filter my table based on the parameter.
Solved! Go to Solution.
Hi @DPJay,
Once you created a What If parameter, a measure returns selected value will be generated automatically.
Create an extra measure as below.
Measure = IF([RankMeasure]<=RankSelection[RankSelection Value],1,0)
Add above new created measure into visual level filter.
Best regards,
Yuliana Gu
Hi @DPJay,
Once you created a What If parameter, a measure returns selected value will be generated automatically.
Create an extra measure as below.
Measure = IF([RankMeasure]<=RankSelection[RankSelection Value],1,0)
Add above new created measure into visual level filter.
Best regards,
Yuliana Gu
hi
i am getting some issue implementing this
@v-yulgu-msft wrote:Hi @DPJay,
Once you created a What If parameter, a measure returns selected value will be generated automatically.
Create an extra measure as below.
Measure = IF([RankMeasure]<=RankSelection[RankSelection Value],1,0)Add above new created measure into visual level filter.
Best regards,
Yuliana Gu
Thanks Yuliana..It worked ![]()
Hi!
This youtube channel helped me a lot and this may be the video you are searching for: https://www.youtube.com/watch?v=SsZseKOgrWQ&index=10&list=PLDz00l_jz6zym_YP8ZW11o52niGfCP8pN
Hope it helps! 🙂
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |