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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Applicable88
Impactful Individual
Impactful Individual

Show blank as zero without extra measure/ utilizing the default visualisation aggregation selections

Hello,

I'm using a matrix with a dimension as rows:

 CountsPosition TotalRevenue
Post    
Direct503 1000
Total    

I know using If-statements or adding a "+0" in a count measure can solve this problem, but I try to stick with 

the standard aggregation function for the tables without an extra mesaure. When PowerBi recognized it as a Number- Datatype I already have plenty of aggregation for selection. Here depending on column I used count or sum . In the row properties I already clicked that it should show also empty values. But as you see its blank instead of zero.

 

Is it possible without a extra measure to change it?

 

Thank you very much in advance. 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Applicable88,

In fact, 'if statement' and '+0' on the expression not work to handle records that not really existed in your table.
For this scenario, you need to create a not connected to the raw table and use its fields to replace raw table categories. Then you can use Dax expression to extract the current data and compare it with if statements.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Applicable88,

In fact, 'if statement' and '+0' on the expression not work to handle records that not really existed in your table.
For this scenario, you need to create a not connected to the raw table and use its fields to replace raw table categories. Then you can use Dax expression to extract the current data and compare it with if statements.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
AlexisOlson
Super User
Super User

Nope. Blanks and zeros are not the same. You'll need measure(s) to do the conversion.

jdbuchanan71
Super User
Super User

@Applicable88 

No, it is not possible to show 0 instead of blank using the default aggregations.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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