Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

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????

  • 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. 

     

     

     

    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

3 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Icon for Resident Rockstar rankResident 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. 

     

     

     

    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

    • Anonymous's avatar
      Anonymous
      Not applicable

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