cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Running total and sum of Running total

Hi Guys

I need DAX function for below statement.

we can easy to do running total, but after running total, how do we do sum of all running total.(Refer I column)

need dax for I coumn.

 

Capture.PNG

 

3 REPLIES 3
Highlighted
Super User IV
Super User IV

Re: Running total and sum of Running total

This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Highlighted
Regular Visitor

Re: Running total and sum of Running total

Thankyou dear friend, 

 

i am new to power BI and this is look so diffcult

 

i have created some DAX kindly review it

 

Running Total for Basic Salary = IF(ISFILTERED(Ddatetable[Month]),CALCULATE([Total Basic Salary],FILTER(ALL(Ddatetable),Ddatetable[Date] <= max(Ddatetable[Date]))),SUMX(SUMMARIZE(Ddatetable,Ddatetable[Month],"Sum",CALCULATE([Total Basic Salary],FILTER(ALL(Ddatetable),Ddatetable[Date] <= max(Ddatetable[Date])))),[Sum]))
Highlighted
Anonymous
Not applicable

Re: Running total and sum of Running total

Please learn a bit about how to create good models in PBI and calculations:

https://www.youtube.com/watch?v=_quTwyvDfG0

https://www.youtube.com/watch?v=78d6mwR8GtA&t=1247s

Working with PBI and DAX is VERY different from Excel.

Best
D

Helpful resources

Announcements
Super Users of the Quarter - Q2 2020

Super Users of the Quarter - Q2 2020

Who are our Super User Superstars? Who made it to the top of the leaderboards? Get the answers!

June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021