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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.