Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
vishnupriyak
Helper I
Helper I

Running totals on another running total measure

Hi everyone,

 

I am facing an issue with dax to calculate the running total on a running total measure.

 

Attaching my case.

First row is be my raw data. 

Second row is running total of first row. This was achieved.

But the 3rd row should be running total of 2nd row. Im unable to get this.

 

JanFebMarAprlMayJun
234528
259141624
2716304670

 

Please help me on this.

 

Thanks in advance,

Vishnu Priya

10 REPLIES 10
parry2k
Super User
Super User

@vishnupriyak you should put the output based on the sample data, if you cannot do it, then not sure how you expect someone to help you.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k ,

 

Im sure about the desired output. And I have added the o/p snap for the raw data that I shared. 

And I think, I have explained the logic like, how the data should populate . 

Im again attaching the desired output.  

vishnupriyak_0-1632418241617.png

 

 

Thanks in advance,

Vishnu

Hi, @vishnupriyak 

 

This logic seems to be iteration, pbi is difficult to calculate iteration.

The sample you provided is inconsistent with the result you want. We can’t see what your original data contains and which ones you want to request.

If there is not much data, it is recommended that you directly add results to the source data. Using dax is complicated and unavailable.😊

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,

Community Support Team _ Janey

parry2k
Super User
Super User

@vishnupriyak not sure if the output you are showing is using the sample data, there is no January in the sample data?

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k ,  Below is the desired o/p for my raw data.

vishnupriyak_0-1632411242402.png

Thanks,

Vishnu Priya

@parry2k , That output I showed is  just the format and the base calculations that should involve in that output.

 

Thanks,

Vishnu

parry2k
Super User
Super User

@vishnupriyak based on the sample data what will be your output?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k ,

 

below  is  my desired  output.

vishnupriyak_1-1632410167837.png

Thanks in advance,

Vishnu

 

vishnupriyak
Helper I
Helper I

Hi @parry2k ,

 

 format of  my data will be in the below format.

CategoryDate1Cnt
A23-09-20212
A24-09-20213
A14-09-20214
A05-08-20214
A06-07-20215
A16-06-20217
A14-05-20218
B23-09-20212
B24-09-20213
B14-09-20214
B05-08-20214
B06-07-20215
B16-06-20217
B14-05-20218

 

Thanks,

Vishnu

parry2k
Super User
Super User

@vishnupriyak what is the structure of your raw data? Solution depends on it. paste raw data in a table format.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.