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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
SebSchoon1
Post Patron
Post Patron

Running total only shows final value accross dates

Hello Guys,

 

i use this formula

 

1-RT STOCK pas mal 2 = 

VAR _selecteddate = SELECTEDVALUE('4- Calendrier période n'[Date])

VAR _datemax = CALCULATE(MAX('4- Calendrier période n'[Date]), ALL ('BDD - Lignes de mouvements'))

RETURN

IF( _selecteddate> _datemax,BLANK(),CALCULATE('1-Mesures sur mouvements de stock'[Test aggregation stock],ALL('4- Calendrier période n'[Date]),'4- Calendrier période n'[Date] <= _selecteddate))

However when i used it with another date field than ==> '4- Calendrier période n'[Date] into my visual

 

it only shows the final value of the calculation, which is 4 and this on each row of the visual.

 

if i use '4- Calendrier période n'[Date]  it runs out of memory even in i use slicers to show only one item.

 

Any help?

 

i'm struggling with these running totals for ages now.

 

I have 12million rows and many warehouses, it is a real pain to find something working well.

 

2 REPLIES 2
Padycosmos
Solution Sage
Solution Sage

amitchandak
Super User
Super User

@SebSchoon1 , Try new window function, that should do a better job

 

Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors