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
Anonymous
Not applicable

Zero as blanks Post 2

Hi Experts

 

this is a new post and totally seperate from the previous question......Once again need to show blanks cells in table format as Zeros...

 

Attended  =
CALCULATE (
COUNTROWS (Data),
FILTER (Data, Data[Apples]= "true"))

 

I have tried using an If statement followed by =Blank(),0,Measure as above not working????

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Did you have a try with the formula below?

 

 

replace blank to 0 =
IF ( [measure] = BLANK (), 0 )

If it is, I cannot reproduce your issue. 

 

 

Capture.PNG

 

If it is convenient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Please check if your issue is similar as this one

 

http://community.powerbi.com/t5/Desktop/Line-Chart-dots/m-p/386106#M175781

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Did you have a try with the formula below?

 

 

replace blank to 0 =
IF ( [measure] = BLANK (), 0 )

If it is, I cannot reproduce your issue. 

 

 

Capture.PNG

 

If it is convenient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

v-piga-msft...thanks for feebback solved now....

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.