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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Fraistan
Helper I
Helper I

"Rolling" Forecast for warranty claims depending on our manufacturing volume

Hi, 

I work with warranty claims and I would like to be able to forecast the future costs. 

This is the link to the demo-data. 

I have 4 sheets: 

Volumes: Consists of date when it's manufactured, volume, which plant and what product. 

Static Value: is a value that changes every year, it's a value that we extract for every product we make to be able to compensate for future warranty claims.
[Volume * Static Value = Money to compensate warranty claims]

Forecast DimDate: DimDate table made for the future. 

Distribution Curve: Curve that "assumes" that for every month further in, the claims/cost will increase. By the end of warranty period, we assume that 100% of the [Money to compensate warranty claims] is used. 

 

Today we have 5 years warranty (60 months) on our products. That's why it needs to be "rolling", not sure if that is correct term. But see below example in Matrix.

I would like to visualise something like this in a Matrix, 5 years ahead, but the "next" year is the most important from a budget perspective.
The "Forecast Calc." is not necessary, just need it for this example to be pedagogical. 

YearMonthManufacturing VolumeStatic valueCompensate money (lifetime)DistributionC.Forecast Calc.Forecast
2024Jan10001301300001%13001300
 Feb11001301430002%1430+13001730
 Mar12001301560004%1730+1430+26005760
 Apr13001301690005%  
 Jun14001301820006%....  
 Jul15001301950008%....  
 Aug160013020800010%....  
 Sep170013022100012%....  
 Oct180013023400015%....  
 Nov190013024700017%....  
 Dec200013026000020%....  
2025Jan210014029400025%  



I hope this make sense. I've been able to do this based on historical data (Expected cost vs actual cost) every month. But when I tried to reverse it, It didn't work. I guess I need a new set of eyes on this problem. 

5 REPLIES 5
v-yiruan-msft
Community Support
Community Support

@johnbasha33  Thanks for your contribution on this thread.

Hi @Fraistan ,

It seems like I have no sufficient permission to access to your shared file. Could you please grant me the proper permission to access it? Thank you.

vyiruanmsft_2-1718694669884.png

In addition, do you want to get the field [Forecast]? What's the calculation logic for this field? Could you please explain it base on the provided sample data? It would be helpful to get the solution. Thank you.

vyiruanmsft_1-1718694519700.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks V-Yiruan-msft to take on this challange! 

I've given you access now 🙂 

The last page "What to get" shows the desired result. 
But it should be:
Volume * Static Value * Distribution Curve

Only been visualised on 1 year, but keep in mind it should be up to 5 years (60 months/periods)

Hi @Fraistan ,

I still can't access your shared file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
johnbasha33
Solution Sage
Solution Sage

@Fraistan 

Static Value per Month:
StaticValuePerMonth = 'Static Value'[Value] / 12

Forecast Calculation (Cumulative):
ForecastedCost =
VAR SelectedDate = MAX('Forecast DimDate'[Date])
RETURN
CALCULATE(
SUM('Distribution Curve'[Percentage] * 'Static Value'[Value]),
FILTER(
ALL('Forecast DimDate'),
'Forecast DimDate'[Date] <= SelectedDate
)
)

Vsualizing in Power BI

  • Drag the Year and Month from your Forecast DimDate table to the Rows of the Matrix visualization.
  • Add the ForecastedCost measure to the Values section of the Matrix.
  • You can also add other dimensions such as Manufacturing Volume if needed.


Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!



Hi Johnbasha33, 

Thanks for answer, I have tried your solution but I don't think it was the correct one 😞 

I've made a new page in my excel that is called "what to get". That's basically what I want. 
But we need to keep in mind that period 60 is the last month to calculate it.

I have only done it for 1 year, but it should be up to 5 years. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.