Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi there,
I have data which looks like as follow:
| IncidentTime | TotalConsumerMinutes | Total Minutes | Date | Time (NZST) | Month |
| Sunday, 5 April 2020 | 29568 | 91755 | 6/04/2020 | 1:28:00 AM | April |
| Sunday, 5 April 2020 | 23046 | 91755 | 6/04/2020 | 1:28:00 AM | April |
| Sunday, 5 April 2020 | 1173 | 91755 | 6/04/2020 | 7:03:00 AM | April |
| Monday, 6 April 2020 | 232 | 91755 | 7/04/2020 | 9:13:00 AM | April |
| Thursday, 9 April 2020 | 10057 | 91755 | 9/04/2020 | 7:08:00 PM | April |
| Thursday, 9 April 2020 | 2261 | 91755 | 9/04/2020 | 7:08:00 PM | April |
| Thursday, 9 April 2020 | 7488 | 91755 | 9/04/2020 | 5:21:00 PM | April |
| Monday, 13 April 2020 | 290 | 91755 | 14/04/2020 | 10:59:00 AM | April |
| Monday, 6 April 2020 | 315 | 91755 | 7/04/2020 | 9:30:00 AM | April |
| Monday, 6 April 2020 | 174 | 91755 | 7/04/2020 | 1:18:00 PM | April |
| Monday, 20 April 2020 | 10166 | 91755 | 21/04/2020 | 11:36:00 AM | April |
| Thursday, 23 April 2020 | 1376 | 91755 | 23/04/2020 | 11:27:00 PM | April |
| Wednesday, 29 April 2020 | 13338 | 91755 | 29/04/2020 | 4:38:00 PM | April |
| Wednesday, 29 April 2020 | 5130 | 91755 | 29/04/2020 | 3:01:00 PM | April |
| Wednesday, 29 April 2020 | 9594 | 91755 | 29/04/2020 | 3:01:00 PM | April |
| Tuesday, 7 April 2020 | 15075 | 91755 | 7/04/2020 | 5:33:00 PM | April |
| Tuesday, 14 April 2020 | 3702 | 91755 | 14/04/2020 | 2:22:00 PM | April |
| Tuesday, 14 April 2020 | 172 | 91755 | 15/04/2020 | 10:52:00 AM | April |
| Tuesday, 14 April 2020 | 24684 | 91755 | 14/04/2020 | 2:22:00 PM | April |
| Tuesday, 14 April 2020 | 2068 | 91755 | 14/04/2020 | 2:22:00 PM | April |
| Tuesday, 14 April 2020 | 49950 | 91755 | 14/04/2020 | 2:22:00 PM | April |
| Tuesday, 14 April 2020 | 19660 | 91755 | 14/04/2020 | 1:56:00 PM | April |
| Friday, 24 April 2020 | 441 | 91755 | 24/04/2020 | 8:32:00 PM | April |
| Monday, 4 May 2020 | 8616 | 91755 | 5/05/2020 | 9:06:00 AM | May |
| Monday, 4 May 2020 | 2730 | 91755 | 5/05/2020 | 9:06:00 AM | May |
| Tuesday, 5 May 2020 | 4644 | 91755 | 5/05/2020 | 1:30:00 PM | May |
| Tuesday, 5 May 2020 | 1638 | 91755 | 5/05/2020 | 5:33:00 PM | May |
| Tuesday, 5 May 2020 | 2975 | 91755 | 5/05/2020 | 6:39:00 PM | May |
| Tuesday, 5 May 2020 | 260 | 91755 | 5/05/2020 | 10:00:00 PM | May |
| Tuesday, 5 May 2020 | 3965 | 91755 | 5/05/2020 | 6:39:00 PM | May |
| Tuesday, 5 May 2020 | 1044 | 91755 | 5/05/2020 | 6:39:00 PM | May |
| Tuesday, 5 May 2020 | 5474 | 91755 | 5/05/2020 | 6:39:00 PM | May |
| Tuesday, 5 May 2020 | 130 | 91755 | 5/05/2020 | 10:52:00 PM | May |
| Tuesday, 5 May 2020 | 3796 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Tuesday, 5 May 2020 | 50132 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Tuesday, 5 May 2020 | 24780 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Tuesday, 5 May 2020 | 59740 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Tuesday, 5 May 2020 | 364 | 91755 | 6/05/2020 | 11:37:00 AM | May |
| Tuesday, 5 May 2020 | 3503 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Tuesday, 5 May 2020 | 17664 | 91755 | 6/05/2020 | 10:21:00 AM | May |
| Wednesday, 6 May 2020 | 9177 | 91755 | 7/05/2020 | 9:12:00 AM | May |
| Wednesday, 6 May 2020 | 888 | 91755 | 7/05/2020 | 9:12:00 AM | May |
| Wednesday, 6 May 2020 | 560 | 91755 | 7/05/2020 | 9:36:00 AM | May |
| Saturday, 9 May 2020 | 4920 | 91755 | 10/05/2020 | 9:04:00 AM | May |
| Tuesday, 5 May 2020 | 3835 | 91755 | 6/05/2020 | 9:11:00 AM | May |
| Tuesday, 5 May 2020 | 1850 | 91755 | 6/05/2020 | 9:37:00 AM | May |
| Tuesday, 12 May 2020 | 7335 | 91755 | 13/05/2020 | 11:34:00 AM | May |
| Tuesday, 12 May 2020 | 418 | 91755 | 13/05/2020 | 11:34:00 AM | May |
| Wednesday, 13 May 2020 | 18928 | 91755 | 13/05/2020 | 12:40:00 PM | May |
| Wednesday, 13 May 2020 | 7000 | 91755 | 13/05/2020 | 12:40:00 PM | May |
| Wednesday, 13 May 2020 | 8228 | 91755 | 13/05/2020 | 12:40:00 PM | May |
| Thursday, 14 May 2020 | 3765 | 91755 | 15/05/2020 | 7:20:00 AM | May |
| Thursday, 14 May 2020 | 252 | 91755 | 15/05/2020 | 10:29:00 AM | May |
| Thursday, 14 May 2020 | 126 | 91755 | 15/05/2020 | 11:22:00 AM | May |
| Thursday, 14 May 2020 | 2560 | 91755 | 15/05/2020 | 10:42:00 AM | May |
| Thursday, 14 May 2020 | 2560 | 91755 | 15/05/2020 | 10:59:00 AM | May |
| Thursday, 14 May 2020 | 84 | 91755 | 15/05/2020 | 10:42:00 AM | May |
| Wednesday, 6 May 2020 | 26145 | 91755 | 7/05/2020 | 8:45:00 AM | May |
| Thursday, 14 May 2020 | 16 | 91755 | 16/05/2020 | 2:06:00 PM | May |
| Thursday, 14 May 2020 | 8 | 91755 | 15/05/2020 | 7:44:00 AM | May |
| Tuesday, 19 May 2020 | 428 | 91755 | 20/05/2020 | 9:36:00 AM | May |
| Wednesday, 20 May 2020 | 6736 | 91755 | 21/05/2020 | 4:28:00 AM | May |
| Wednesday, 20 May 2020 | 93466 | 91755 | 21/05/2020 | 6:45:00 AM | May |
| Friday, 22 May 2020 | 177 | 91755 | 22/05/2020 | 3:11:00 PM | May |
| Monday, 25 May 2020 | 760 | 91755 | 25/05/2020 | 2:11:00 PM | May |
| Monday, 25 May 2020 | 2340 | 91755 | 25/05/2020 | 2:11:00 PM | May |
| Monday, 25 May 2020 | 5883 | 91755 | 25/05/2020 | 2:11:00 PM | May |
| Tuesday, 26 May 2020 | 15732 | 91755 | 27/05/2020 | 9:02:00 AM | May |
| Tuesday, 26 May 2020 | 1338 | 91755 | 27/05/2020 | 9:02:00 AM | May |
| Tuesday, 26 May 2020 | 26496 | 91755 | 27/05/2020 | 9:03:00 AM | May |
| Tuesday, 26 May 2020 | 29008 | 91755 | 27/05/2020 | 8:45:00 AM | May |
| Thursday, 28 May 2020 | 1984 | 91755 | 28/05/2020 | 2:40:00 PM | May |
| Thursday, 28 May 2020 | 14155 | 91755 | 28/05/2020 | 2:40:00 PM | May |
| Wednesday, 27 May 2020 | 2080 | 91755 | 27/05/2020 | 6:13:00 PM | May |
| Wednesday, 27 May 2020 | 159 | 91755 | 27/05/2020 | 6:13:00 PM | May |
I first created a measure that calculates the consumed minute by dividing TotalConsumerMinutes by TotalMinutes as follow:
Solved! Go to Solution.
@Dunner2020 , Try like
Running total = calculate( sumX('Table',[Consumed Minutes]), Filter(Table, Table[Date] <=Max(Table[Date]))
or
Running total = calculate( MAX('Table'[TotalConsumerMinutes]) /MAX('Table'[Total Minutes]), Filter(Table, Table[Date] <=Max(Table[Date]))
But as you have overlapping dates you might see some issues
have column like
datetime = [Date]+ [Time (NZST)] + time(0,0,rand()) // You need check if rand work second or not
datetime = [Date]+ [Time (NZST)] + rand()/1000 // You need check if rand work second or not
and use this new field
Running total = calculate( sumX('Table',[Consumed Minutes]), Filter(Table, Table[datetime] <=Max(Table[datetime ]))
@Dunner2020 , Try like
Running total = calculate( sumX('Table',[Consumed Minutes]), Filter(Table, Table[Date] <=Max(Table[Date]))
or
Running total = calculate( MAX('Table'[TotalConsumerMinutes]) /MAX('Table'[Total Minutes]), Filter(Table, Table[Date] <=Max(Table[Date]))
But as you have overlapping dates you might see some issues
have column like
datetime = [Date]+ [Time (NZST)] + time(0,0,rand()) // You need check if rand work second or not
datetime = [Date]+ [Time (NZST)] + rand()/1000 // You need check if rand work second or not
and use this new field
Running total = calculate( sumX('Table',[Consumed Minutes]), Filter(Table, Table[datetime] <=Max(Table[datetime ]))
That is the output of my last reply
As you can see that TotalConsumerMinutes and debug columns have the same value which should not be the case.
@Dunner2020 , Please see this file. Both Column and measure are running totals. As Date was not detected as I used Incident date(dd/mm format, my system use mm/yy)
See if this can help
@amitchandak , Your file produces the desired result. However, when I did the same thing on my file it ended up the same old result. Do you think its because of the different date formats? I could not get the date format comments from your last post.
@Dunner2020 , Date should be detected as date after that format does not matter. I also added a random number in Datetime column I created. Please check datetime column I created
@amitchandak , Looks like that no calculation worked. I tried to debug the issue using following command:
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |