Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am new to Powerbi and have a table which has two columns date/time and depth of rainfall. I need to find the amount of rain that has fallen over the previous X minutes for each day/time i.e the previous 5 mins. Data bins are not suitable as the times are not exact and include seconds. There are a number of different values for X minutes. I have looked at the calculate and sum dax formulas for measures and I am struggling to find the answer. There does seem to be ways to do it for other metrics but can't see for minutes. If you could point me in the correct direction that would be really appreciated. Thank you.
Hi @Rainman did you use DATEDIFF function? Check example. Hope this help.
https://learn.microsoft.com/en-us/dax/datediff-function-dax
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
37 | |
25 | |
19 | |
14 | |
8 |
User | Count |
---|---|
68 | |
48 | |
45 | |
18 | |
15 |