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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Interactive Bar Chart Cross Filtering

Hi Folks

I need to create an Interactive Visual of which consists of 3 bar charts

Bar chart 1- Products

Bar chart 2 – Product Defect Reasons

Bar chart 3- Manufacturing Plant

and a TOP N filter which filters the top n bars based on the selected n and contains a cross filter functionality such that

  • By clicking on a product bar chart 1-> top n bars of the chart 2 show the top n defects reasons of the selected Bar in chart 1 and then by clicking on any Bar in chart 2 -> Top n bars of chart of chart 3 showing the associated plant of the selected reason in chart 2

I have attached an image for reference

 

Infijeevan_1-1646310887206.png

 

@amitchandak @Greg_Deckler @diex @aj1973 @BA_Pete @Jihwan_Kim @SanketBhagwat @Allison 

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , You can use TOPN filter at visual level fixed

 

You can create TOPN measure for each one with dynamic N and can use that

I think drill should work unless you point out some specific case

 

example - one for each visual based on axis column

Top N =calculate([M1], TOPN([selected N],allselected(Table[Event]),[M1],DESC), values(Table[Event]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for getting back Amit : Those steps have been followed but still the issue persists the following are the measures that i have used

toprankingmeasuresprod = IF('Measure Table'[product rank]<='Measure Table'[SelectedTopNValue],'Measure Table'[total complaints])

toprankingmeasuresreasons = IF('Measure Table'[reasons rank]<='Measure Table'[SelectedTopNValue],'Measure Table'[total complaints])

toprankingmeasureplant = IF([plantrank]<='Measure Table'[SelectedTopNValue],'Measure Table'[total complaints])

I think its more complex than that. let me re-explain the issue

so i have a top N slicer which has [Top 1, Top2, Top 3.....and so on] after selecting say Top 5 I have Top 5 bars displayed for all the 3 bar charts now i want an additional cross filtering functionality where

by clicking 1 bar in a bar chart of the top 5 bars from products table i get the top 5 product defect reasons for the selected product bar and then cliciking on 1 Bar from those top 5 reasons i get the top 5 plants

please check the attached image in the 1st post for reference As of now in PBI if i click on any bar i get the following response

Infijeevan_0-1646379452419.png

 

@amitchandak 

Did you get any solution to this?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.

Top Solution Authors
Top Kudoed Authors