The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |