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.
Hi,
i want to create a dax query to calculate count of closed tickets, closed_successfully or closed_cancelled are two categories in ticket state
i want to check like
if(ticket state)=="Closed_Successfully" or if(ticket state)=="closed_cancelled":
then
closed_ticket=count(tickets)
how to write a dax expression to get number of closed tickets?
Solved! Go to Solution.
MEASURE = COUNTX(FILTER(tickets,tickets[ticket state] IN {"Closed_Successfully", "closed_cancelled"}),"a column like ID")
Proud to be a Super User!
MEASURE = COUNTX(FILTER(tickets,tickets[ticket state] IN {"Closed_Successfully", "closed_cancelled"}),"a column like ID")
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 |
---|---|
51 | |
27 | |
24 | |
13 | |
8 |
User | Count |
---|---|
74 | |
56 | |
47 | |
16 | |
12 |