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

Calculate Premium Forecast

Hi,

I am struggling to create a visual to show premium for future dated policies. I need to calculate the future premium based on a formula ( coverage amount/1000) * rate factor only for policies having future anniversary date. 

 

FuturePremium =
VAR AgeRange = [Age Range]
VAR PLANID = [PlanId]
Return
SWITCH(
    TRUE(),
         CONTAINSSTRING(AgeRange, "Under 25") && PLANID IN {"933","922"}, [CoverageAmount]/1000) * 0.027
         CONTAINSSTRING(AgeRange, "25-29") && PLANID IN {"933","922"}, [CoverageAmount]/1000) * 0.028,
 
0
)
 I have calculated member age range as per their anniversary date using current age. For ex - a member is 23 now and has next year anniversary date so it will fall "under 25" and have future premium accordingly. this is only for active policies. 
I have a date table having all dates (future and past) which is tied to Policy issue date.
 
When i create a line chart using dates from date table and premium (actual and future) for the policies, it shows the data till 2023 year because policy issue dates are till 2023.. how to show the Future Annual premium for these policies. For example - right now, first record have Annual Premium of $50 but in year of 2025, it will go to $100 so when we see all the policies..it will tell how much premium we will getting for these policies in upcoming years and also show how much we have in 2023(when it was issued). Considering all remain active. 
 
YearMonthPolicy Anniversary datefuture Member AgeAge RangeAnnual PremiumFuture Annual Premium
2023January5/22/20252525-2950100
2023Februrary10/23/20293330-34100150
2020March4/10/202624Under 25230200
2021January4/10/20244545-49100150
2017Decemeber4/10/202819Under 25200230
 
2 REPLIES 2
ChiragGarg2512
Solution Sage
Solution Sage

Try using this measure:

FuturePremium =
VAR AgeRange = [Age Range]
VAR PLANID = [PlanId]
VAR PolicyAnniversaryYear = YEAR([Policy Issue Date]) + 1 
VAR CurrentYear = YEAR(TODAY()) 
VAR PremiumFactor =
    SWITCH(
        TRUE(),
        CONTAINSSTRING(AgeRange, "Under 25") && PLANID IN {"933", "922"}, 0.027,
        CONTAINSSTRING(AgeRange, "25-29") && PLANID IN {"933", "922"}, 0.028,
        0
    )
RETURN
    IF(PolicyAnniversaryYear > CurrentYear, ([CoverageAmount] / 1000) * PremiumFactor, 0)

Thank you for responding!

Premium anniversary date is already calculated and another formula is in place - 

 

Forecasting Premium = IF([PolicyAnniversaryDate] > TODAY(), '[FuturePremium], [Annual Premium])
 
When i create a Line chart - what date to use with Forecasting premium? If i use Date(tied to policy issue date) it shows data till 2023 and if i use policy anniversary date then also it doesn't work.
How I visualize, Calendar Date - 2021, 2022, 2023, 2024 and so on.. it should show the Forecast premium of all polices and if a member has policy anniversery in 2024 it should Future premium so you will see a spike in premium in upcoming years. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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