Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello All,
I need to get Cumulative Running Time of running pumps using DAX
I have created 3 measures for that,
First for getting Previous row,
Second for subtracting the current row from previous row,
Third to get cumulative runnning time
But I am facing a small issue, I have explained my issue below the screenshot
Here are the formula for Measures:
So in the sceenshot you can see that in Time column, Difference between 2 consecutive rows is 10 mins. In the column run time1 we can see the cumulative running time, it is working fine but at some point of time when Difference b/w 2 consecutinve rows is greater than 10 mins there it is showing incorrect value, I need to fix this.
Can anyone help me in this issue?
If you've any question feel free to ask.
Thanks and Regards
Mihir
Hi @miiihiir ,
Could you please provide a pbix file without privacy inforamtion and desired output with more details? What the desired output in the red mark?
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
7 |