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

View all the Fabric Data Days sessions on demand. View schedule

Reply
MCornish
Responsive Resident
Responsive Resident

Show zero instead of blank, but maintain filters

I have seen this asked a lot and the accepeted response is always Measure + 0, or an IF statement, or something along those lines.

 

However this give me an issue

 

If I start with this table, you can see that the 3 employees in IT have taken no sick days.

1.PNG

 

If I add the measure to add in the scoring system I would get a blank. Do what is suggested and I get a zero but the filter gets ignored.

 

2.PNG

 

What I need it to do is show a zero but not overide the filter placed on it

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MCornish , Try something like this.  an new measure

if(max(table[Dept-Employee]) in values(table[Dept-Employee]) , [Measure]+0, blank())

 

[measure] is your existing measure

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@MCornish , Try something like this.  an new measure

if(max(table[Dept-Employee]) in values(table[Dept-Employee]) , [Measure]+0, blank())

 

[measure] is your existing measure

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

Really helpful

Dude you are a genius

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