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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Stacked colomun chart that displays the TOPN values while remaining filtered by other charts

Hi

I want the stacked colomun charts to show only TOPN values when NOT FILTERED by other charts or Slicers. 

But when its filtered by other charts or slicers, I want the chart to show the filtered values in stacked colomun chart. Any help on how to resolve this on DAX?

1 REPLY 1
mlsx4
Memorable Member
Memorable Member

I don't know which filters / slicers you have, but maybe you can try to catch the selectedvalue. I mean, imagine you have a date filter:

 

var dateSelected= SELECTEDVALUE(Calendar[Date])
return IF(dateSelected="", TOPN, measure)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.