Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.