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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
naoyixue1
Post Patron
Post Patron

How to add the running total column

Hey there,

 

Do you know how to add a column to highlight the running total by date and by SKU ? Thanks!

naoyixue1_0-1688145511963.png

 

1 ACCEPTED SOLUTION
naoyixue1
Post Patron
Post Patron

I think I figured it out. The formula should be as below..

 

naoyixue1_0-1688419821649.png

 

View solution in original post

10 REPLIES 10
naoyixue1
Post Patron
Post Patron

I think I figured it out. The formula should be as below..

 

naoyixue1_0-1688419821649.png

 

lucadelicio
Super User
Super User

I hope I have been helpful.
Mark it as a solution if resolve your problem.

Ciao!



Luca D'Elicio

LinkedIn Profile
naoyixue1
Post Patron
Post Patron

Any thoughts? I'm thinking I should apply sumx with earlier function by SKU and by Date...any thoughts? Thanks!

Is this what you want?

lucadelicio_0-1688286500197.png

Measure =
CALCULATE(
    SUM(Tabella1[DEMANDS])
    ,DATESYTD(Tabella1[DATE])
)
I miss a comma on the formula.

I hope I have been helpful.
Mark it as a solution if resolve your problem.

Ciao!



Luca D'Elicio

LinkedIn Profile

Sorry, it doesn't work. But thank you though.

 

naoyixue1_0-1688419658828.png

 

lucadelicio
Super User
Super User

Try:
Measure =
CALCULATE(
SUM('Table'[Demands])
DATESYTD('Datatable'[Date])
)


I hope I have been helpful.
It's more easier to help you if you upload your pbix.
Mark it as a solution if resolve your problem.

Ciao!



Luca D'Elicio

LinkedIn Profile

Thanks for your help. But it doesn't work.  

It doesn't work because you don't ask if it is a measure or a calculated column. I give you a measure and you use it like a calculated column.



Luca D'Elicio

LinkedIn Profile

Oh, gotcha. thanks!

Mark it as a solution if resolve your problem.

Ciao!



Luca D'Elicio

LinkedIn Profile

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.