Forum Discussion

KarenKazab's avatar
KarenKazab
Frequent Visitor
7 years ago
Solved

Dax formula help - count rows with multiple values in one column

Hi all,   Relatively new to power bi and Dax and i'm sure this is probably an easy one, in sql would be a doddle, i want to count the rows in my table CurrentOccupants where the column OccupancySta...
  • Zubair_Muhammad's avatar
    7 years ago

    Hi KarenKazab 

     

    No' Tenants =
    COUNTROWS (
        FILTER (
            'CurrentOccupants',
            'CurrentOccupants'[OccupancyStatus] IN { "Lead", "Joint" }
        )
    )