Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |