Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

CALCULATE(COUNTROWS(),(FILTER) function

Hello, 

 

If I use the =CALCULATE(COUNTROWS(),(FILTER) function is there a way to show that if a row is blank, show 0? 

 

 

3 Replies

  • Anonymous you can do something like this

     

    your measure = caclulate(countrows(), filter()) + 0

    Would appreciate Kudos 🙂 if my solution helped. 

     

  • I think

    CALCULATE(COUNTROWS((FILTER ()) +0 , should work

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Amit 

       

      I tried the below and it doesn't work?