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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
maiios
Frequent Visitor

How to get blank values to graph as zero with a slicer

I have a measure that I am graphing that I want to include blank values as 0. I have read elsewhere on here that to do that you need to add zero to the value. Like so: 

 

expenses_conduent = SUMX(
    FILTER(atves_financial,
           atves_financial[account_type] == "OP EXP" && 
           atves_financial[vendor_or_customer_name] = "CONDUENT STATE & LOCAL SOLUTIONS, INC."),
    SUM('atves_financial'[amount]) * -1  + 0   
    ) 
 

 

But when I do that, it adds zero values for every date in my date table. However, I have a slicer that I want to limit the dates displayed on the graph, and it seems to ignore that when I add zero (but works properly when I do not). How do I do that?

1 REPLY 1
Anonymous
Not applicable

Hi @maiios ,

 

The requirement is not clear. Could you share some screenshots?

 

Best Regards,

Jay

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.