Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
I have a table that contains three primary columns - Location (Text), Event Type (Text) and Event Value (Number). I have been trying to define a measure that will count the number of rows that meet specific criteria. For example, if Location=X and Event Type=Y and Event Value =Z, than count that row and summarize. Following is sample data:
Date / Time | Location | Event Type | Event Value |
Los Angeles | Valve | 0 | |
Los Angeles | Feed | 1 | |
Dallas | Feed | 1 | |
San Antonio | Feed | ||
So, in the example above, count the number of rows that meet this criteria: Location = Dallas, Event Type=Feed,Event Value=1
Any ideas?
Hi,
You can use FILTER combined with countrows.
E.g.
Proud to be a Super User!
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
107 | |
106 | |
91 | |
67 |
User | Count |
---|---|
162 | |
133 | |
133 | |
93 | |
90 |