Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

blank count

Hi all,

 

i want create a kpi object .     count of blank  seats      from the table   SELECT * from Personal.fact_AIS_Specific   ;

 

how can i create a measure?

  • Anonymous 

    try measure like

    CALCULATE(COUNTROWS(Table), ISBLANK(Table[seats]))

     

  • Anonymous , Try

    calculate(countrows(Personal),isblank(Personal[fact_AIS_Specifi]))

5 Replies

  • az38's avatar
    az38
    Community Champion

    Anonymous 

    try measure like

    CALCULATE(COUNTROWS(Table), ISBLANK(Table[seats]))

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      im trying this is it fine?

       

       

      COUNTBLANK(Table[Seats])
      • az38's avatar
        az38
        Community Champion

        Anonymous 

        that's great, I never used this function before 🙂

        but pay attention - 

        If no rows are found that meet the condition, blanks are returned.
  • Anonymous , Try

    calculate(countrows(Personal),isblank(Personal[fact_AIS_Specifi]))