Forum Discussion

DuvanPinilla's avatar
DuvanPinilla
New Member
4 years ago
Solved

Contar si en Power BI

Buenos dias    Necesito su ayuda para lograr realizar el (CONTAR SI) que se realiza en excel, en power BI  
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi DuvanPinilla ,

     

    Here's the sample data I created. You want to count the number of H2 in column H.

    You could create a measure.

    COUNT IF = CALCULATE(COUNT('Table'[H]),FILTER('Table',[H]="H2"))

     

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.