Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I currently have a stacked bar chart visual that I'm trying to apply Top N to. This in itself is pretty simple, as all I would have to do is create the what-IF parameter and use RANKX() in the displayed measure. However, I have also applied another technique, detailed in this video by Guy in a Cube: https://www.youtube.com/watch?v=jcxJzh1TYWg, to create a dynamic Legend. So, I can choose to show my Legend by Business Sector, Business Division, and Business Segment.
How do I create a Top N with a dynamic maximum amount? I have 10 Business Sectors, 25 Business Divisions, and 40 Business Segments. When I create the what-If Top N parameter, I only have the option to set a fixed minimum and maximum. I would like the Top N range to be 0-10 if the user selects Business Sector as the legend, 0-25 if they select Business Division, and 0-40 if they select Business Segement. Is this possible?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |