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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jfg
Regular Visitor

Filtering doesn't work in every graphic

Good morning,

I've been struggling with filtering in my dashboard, as depending on which graphic i click, it does not filter the others.

 

The data comes from the same table. It has 3 columns: Country, Region and Population. The population info is at region level.

If the population is 0, it does not have to be considered.

 

As I want to show the average population of each country, i've created the following measure:

 

AVG POP = CALCULATE(([Pop avg France]+[Pop avg Germany]+[Pop avg Italy])/([Count regions France]+[Count regions Germany]+[Count regions Italy]))
Where:
Pop avg France = CALCULATE(AVERAGE(Sheet1[Population]),'Sheet1'[Country]="France")
Count regions France= IF((CALCULATE(sum(Sheet1[Population]),Sheet1[Country]="Germany")=0),0,1)
 
The problem is that if i click in the table (above) it updates every graphic. Whereas if i click in the pie graphic, it does not updated the bar graphic.

 

Jfg_0-1686552976720.png

 

Could you help me please?

 

1 REPLY 1
lbendlin
Super User
Super User

If the population is 0, it does not have to be considered.

Why?  That will skew the result.  Anyway, here is how you would do that :

 

lbendlin_0-1687131328132.png

 

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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