Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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) }
)
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.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
6 |