Forum Discussion
Oded-Dror
2 years agoHelper III
Time interval
Hi there, See image below. In the left I have SQL Server table called example with two ID's And DTTM columns. I need it to capture 15 running min interval with reseting the loop (every 15 min set...
gmsamborn
2 years agoSuper User
Hi Oded-Dror
I added a time dimension with 1 row per minute. It also has a 15-minute bucket. (I added a DimDate table.)
After adding a couple of relationships and measures, my model is below.
DimTime - 15 minute buckets.pbix
Let me know if you have any questions.
Oded-Dror
2 years agoHelper III
Amira,
Thank you for solving this issue, it works!
Point to remember DAX dateadd func dosen't have Minute interval like SQL dose.
Thanks again
Oded Dror
- Oded-Dror2 years agoHelper III
Amira,
This is not accurate if you see in your result 10:26 - 10:12 is 14 min and not 15
And the last record as wellThanks,
Oded Dror