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

Power BI - matrix shows blank or 0M

HI All,

I need help, on the Power BI Matrix, I have change the unit to Million,

However, I have some field showing blank and other 0M

I realized the on showing 0M (I mannually input a value 0.01)

The blank field is when the excel data show 0.00.

How do I make Power BI matrix to realized if is 0.00 it input 0M as well rather than me going into excel to put 0.01 on it.

see picture below. Thank you.

joseph248_0-1604325789506.png

 

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

Hi @joseph248 ,

 

We can create a measure to meet your requirement.

 

Measure = SUM('Table'[value])+0

 

power1.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that we have shared?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

BTW, pbix as attached.

View solution in original post

2 REPLIES 2
v-zhenbw-msft
Community Support
Community Support

Hi @joseph248 ,

 

We can create a measure to meet your requirement.

 

Measure = SUM('Table'[value])+0

 

power1.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that we have shared?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

BTW, pbix as attached.

Greg_Deckler
Super User
Super User

@joseph248 Perhaps fix this in Power Query by adding a step to replace blanks (null) with 0 or in DAX:

Measure =
  VAR __Calc = <some calc>
RETURN
  IF(ISBLANK(__Calc),0,__Calc)

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors
Top Kudoed Authors