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
SCallanan
Frequent Visitor

Suppress 0 in Field Parameters

Hi guys,

 

just wondering if you can help me with this...

 

I created a field paramter based on two measures and added a bar-chart which now shows a lot of 0 values. 

In the filter pane I tried to exlude 0 and or blanks etc but it doesn't work as it will hide the content of the other field parameter. 

 

Example below:

Dax Measure that causes the problem is the following: 

 

I tried both versions, but it does not change the outcome of the output. 

Admin = [Total Inspections]-[Physical] 
or 
Admin = IF ( ISBLANK ([Total Inspections] ), BLANK (), ( [Total Inspections]-[Physical] ) )
 
Field Parameter: 
Physical/Admin Slicer = {
    ("Physical", NAMEOF('Power BI - Inspections'[Physical]), 0),
    ("Admin", NAMEOF('Power BI - Inspections'[Admin]), 1)
}

 

This only happens when the Admin Slicer is selected. 

SCallanan_0-1723628070870.png     SCallanan_1-1723628292213.png

 

I can choose to not select 0 in the filter pane, but that hides all the Physical values then when Physical is selected. 

 

SCallanan_2-1723628527825.png SCallanan_4-1723628602415.png

 

SCallanan_3-1723628560481.png  SCallanan_5-1723628644268.png

 

 

Thanks for your help. 

 

1 ACCEPTED SOLUTION

Hey @SCallanan, please update the admin measure, and let me know if you encounter any issues.

Admin = IF([Total Inspections] - [Physical] = 0, BLANK(), [Total Inspections] - [Physical])

 

View solution in original post

8 REPLIES 8
ahadkarimi
Solution Specialist
Solution Specialist

Hey @SCallanan, could you please share a sample of your PBIX file? That would help me assist you better.

@ahadkarimi thank you for getting back to me. Where can I attach the pbix file for you? I can't publish it to the public to share the link.

@SCallanan you send it by gmail ahad.karimi8@gmail.com, after sending email let me know here one the email has been sent.

Hi @ahadkarimi I emailed that to you. Thanks for your help. 🙏

ahadkarimi_1-1723728419128.png

 

Hey @SCallanan, please update the admin measure, and let me know if you encounter any issues.

Admin = IF([Total Inspections] - [Physical] = 0, BLANK(), [Total Inspections] - [Physical])

 

@ahadkarimi 
Fair play to you Ahad. That worked. 😊

Many thanks. 👍

Glad to hear it worked, Sandra! You're very welcome.
Happy to help! 😊

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.