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.
Reference Table:
I'm trying to get a total amount of Tickets that have either a priority or status that match a particular value.
For example, if I wanted to count the amount of tickets that had a Priority of Deffered and/or a Status of Pending Approval the count would be 2. Any idea how to go about this?
Hi,
Please explain why the answer should be 2. Which 2 Ticket # meet your conditions?
Hi amtbew,
Isn't the result 3? You can create a measure using DAX formula below:
Count = CALCULATE ( DISTINCTCOUNT ( Table1[Ticket #] ), FILTER ( ALL ( Table1 ), Table1[Priority] = SELECTEDVALUE ( Table1[Priority] ) || Table1[Status] = SELECTEDVALUE ( Table1[Status] ) ) )
f
Regards,
Jimmy Tao
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |