Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
maxse
New Member

Calculating Ticket Close Ratio

I'm running into an issue since the quick measure does not allow for relative date formatting. I'm trying to return the similar functionality of the filter date pane of 'is in this - day'. Which will provide me with a filtered measure of all tickets entered today. I will then duplicate this so I can create another of tickets closed today, etc.

 

The current DAX code I have is using the quick measure so I can only pick one date. Please let me know what to change so the result will be 'is in this - day'.

 

QuickMeasureFilter = 
CALCULATE(
	COUNTA('v_rpt_Service_Summary'[TicketNbr]),
	'v_rpt_Service_Summary'[Date_Entered_UTC]
		IN { DATE(2015, 4, 23) }
)
3 REPLIES 3
FreemanZ
Super User
Super User

hi @maxse 

supposing you have a column named data[date], then try to change your quick measure to:

QuickMeasureFilter =
CALCULATE(
    COUNTA('v_rpt_Service_Summary'[TicketNbr]),
    'v_rpt_Service_Summary'[Date_Entered_UTC]
        IN { VALUES(data[date]) }
)

I'm not sure how that is going to return the results for today?

hi @maxse 

As you have the data, just try it. 

 

p.s. If you need further input, consider @me in the reply. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.