Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi everybody,
I need some help with a DAX.
I have a table with following columns:
I need to produce a table showing the number of events within 60 minutes from each event with eventtype = 3, grouped by card id, contract id and eventtype.
I can only use DAX - not possible to edit dataset.
Your help will be much appreciated!
Hi @MarcoBeca ,
What time do you want to compare Date time with?
You may consider to create a measure like below:
new_table = summarize(filter(table,eventtype=3&&datediff(date time,time2,MINUTE)<=60),card id, contract id,"count",countrows(table))
Best Regards,
Jay
Hi Jay,
I'll be testing out your solution and I will let you know in the next days. thank you for your support!
Marco
User | Count |
---|---|
121 | |
76 | |
63 | |
51 | |
50 |
User | Count |
---|---|
175 | |
125 | |
60 | |
60 | |
58 |