Skip to main content
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Frequent Visitor

Need Help for To add feature of top n number dynamically

Hi every one 
in my dashboard i want to add a featute like user can decide the top N number for stacked bar chart what ever the number may be 
i want to give that type of option 
can you guys help me for this.

Super User
Super User

@gopi245 , refer

Learn Power BI: Dynamic TOPN using TOPN/Window and Numeric parameter:


In case stacked TOP can only be for legend or for axis.  for axis you may need a measure to remove the legend filter


Get Super Dynamic TOPN using Window, Numeric, and Field parameters along with calculation groups-

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.