Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

What is wrong with this DAX?

Hi All, I need to calculate what is the total no. of rows where PI is NOT Blank from the Planning table. So I wrote the DAX PI Count = IF(ISBLANK(MAX(Planning[PI])),Blank(),COUNT(Pl])).   But i...
  • Greg_Deckler's avatar
    6 years ago

    Anonymous - Try:

    PI Count = COUNTROWS(FILTER('Planning',[PI] <> BLANK()))