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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Luke-Howells
Frequent Visitor

Forecast Line Using Custom Measure

Hi Experts,

 

So I have a measure which will work out a Loss Ratio based off claims and income. What I want to do is create a forecast line for the months that have not yet happened in the year. The forecast is based off the monthly movements from the years prior and then take an average of the movements for the months. I have already worked this part out with the below measure:

 

Measure to work out the monthly movement. This is the current month - month before and then averaged out over 4 years. 

 

AAA AVG LR Monthly Movement = 
(
--2021
CALCULATE(([AAA Net Incurred Loss Ratio] - [AAA Net Incurred Loss Ratio +1]),'02. UWY Year'[Underwriting Year] = (YEAR(TODAY())-1))

+

--2020
CALCULATE(([AAA Net Incurred Loss Ratio] - [AAA Net Incurred Loss Ratio +1]),'02. UWY Year'[Underwriting Year] = (YEAR(TODAY())-2))

+

--2019
CALCULATE(([AAA Net Incurred Loss Ratio] - [AAA Net Incurred Loss Ratio +1]),'02. UWY Year'[Underwriting Year] = (YEAR(TODAY())-3))

+

--2018
CALCULATE(([AAA Net Incurred Loss Ratio] - [AAA Net Incurred Loss Ratio +1]),'02. UWY Year'[Underwriting Year] = (YEAR(TODAY())-4))
)

/ 4

 

 

Using this measure and the Loss Ratio I already have, I want to be able to create a measure which will forecast the rest of the year. 

The forecast would be, for the first month, the loss ratio for the month prior plus the AVG Movement. The following months would be the last available loss ratio plus the AVG Movement for that month and the months prior where there is no Loss Ratio. (Hope that makes sense). In the table below are the results the measure should show. The ones in bold are for the months I currently don't have.

 

LR Power BI.PNG

MonthResult
12.7%
27.3%
312.3%
416.0%
520.2%
625.9%
729.3%
829.8%
933.3%
1036.3%
1138.9%
1242.6%
1347.6%
1451.8%
1555.7%
1658.9%
1762.2%
1865.2%
1967.8%
2069.8%
2170.7%
2271.2%
2371.3%
2471.4%

 

Any help on this would be appreciated. I have a feeling there is a way to do this, but just can't figure it out 🤦‍♂️

 

TIA

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @Luke-Howells ,

 

I can't reproduce this question for now, can you provide some test data and describe it, so that I can answer it for you as soon as possible.


Looking forward to your reply.


Best Regards,
Henry

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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