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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

(Cumulative sum) Periods with zero values to take sum from previous periods

Hello everyone,

I'm new to PowerBI.

 

I have Planned Values for each period of a year (eg. 2021 P1- 2021 P13). Then I have to calculate the Forecast Cumulative for the year based on these planned values. It should be incremental.
Here below the Forecast formula seemed nromal but I cannot understand why for P11 and P12 where planned values are 0, it doesn't continue with 400000 like P10, even though at the end it ends with 400 000.

But in Excel is fine (blue line)
The idea is to get exactly the same values like in Excel
Thanks in advance !!

 


PowerBI formulas :

TotalPlannedValue = SUM('Value Log Report'[Planned Value])

 

Forecast Cumulative TEST =
CALCULATE([TotalPlannedValue], FILTER(ALLSELECTED('Value Log Report'), 'Value Log Report'[Date] <= MAX('Value Log Report'[Date])))

 

excel.PNGInkedMicrosoftTeams-image (5)_LI.jpgInkedprb 1_LI.jpg
1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

I don't see a [Date] column anywhere in the screenshots.

 

Does it make a difference if you use [Period Name for Reporting] instead of [Date] in your measure?

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Perfect, thank you very much !! It works as expected

AlexisOlson
Super User
Super User

I don't see a [Date] column anywhere in the screenshots.

 

Does it make a difference if you use [Period Name for Reporting] instead of [Date] in your measure?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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