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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Greg_Deckler
Super User
Super User

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


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

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]))

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors