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
senorbol
Frequent Visitor

Probem with dax calculation to reduce values from total

Hi All, 

 

I wondered if someone could help with an issue I have with a dax calculation. My DAX skills are fairly basic so hoping an expert can solve this issue. 

 

I've got data where I need to make up a total of a certain type of asset and display this per quarter - there is then another value which shows reduction in this asset per quarter - I've got as far as detailed below but the issue I'm having is when the reductions start if there are no further reductions in future dates then the value goes back to the total. 

 

Details and explanation here:

 

senorbol_0-1620720047386.png

 

As you can see from the screenshot - the burndown forecast is correct up until Q1 2022 - but as there are no further reductions my forecast value returns to 50. What I want to achieve is the burndown forecast value to remain at the reduced value - 2022 Q2, Q3 and Q4 would show as 5 until the further reduction of 1 in 2022 Q4 which should then give me a value of 4.

 

Here are the dax calcs I've used.

 

Cumulative Output =


CALCULATE([ST_Count] ,
FILTER( ALLSELECTED ('Calendar'), 'Calendar'[Date] <= MAX ('Calendar'[Date])-1)
) +0
 
Output 2BC = 
CALCULATE([ST_Count] , ALLEXCEPT('Master Data 2', 'Master Data 2'[Service Type Bucket 2], 'Master Data 2'[CSP_OOS_Fix] ))
 
Burndown Forecast = [Output2BC] - [Cumulative output]
 
Any help on this would be greatly appreciated. Also if you require any further info please let me know. 
 
Thanks
 
 
1 REPLY 1
lbendlin
Super User
Super User

Your Quarter column needs to be a YearQuarter column.  2021Q1  etc.

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.