The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |