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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

scenario modeling

Hello,

 

I am new to Power BI and want to model different cost scenarios that vary following the implemenation rate for the year each new vulnerable population group is added into the program from 2019-2025.  

 

"Percent change" =

0% (no implementation)

20% (introduction year)

40% (year2),

60% (year3)

80% (year4)

100% (year5+)

 

"Vulnerable Group" and "total costs" 

Pregnant women     $XXX,XXX

Children <5

Elderly

Etc...

 

 

"Year" =

2019

2020

2021

2022

2023

2024

2025

 

As I want to be able to select/vary the population groups AND the introduction years for any particular population, I have introduced a hierarchy slicer.   For example, I would like to be able to select "pregnant women" and "2022" (as the introduction year) and the table would autocalculate the total cost associated with pregnant women in 2019 as 0% of the "total cost" for pregnant women, 2020 as 0% of the "total cost" for pregnant women, 2022 as 20% of "total cost" for pregnant women, 2023 as 40% of "total cost" for pregnant women, 2024 as 60% of "total cost" for pregnant women, etc...  

 

I would like to have this functionality for all population groups and years.  

 

Finally, I would like to generate a stacked column chart (by population group) that shows the total cummulative cost on the y-axis and year on the x-axis.   Please find attached my working file.  Thanks much for any guidance you can provide. 

Thanks much. 

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

As I know we cannot create a calculated table based on Slicer. So maybe it is hard to meet your requirement. Or you can create measures to work on it, however am not sure I have understand what is your excepted result. Could you please share the excepted result to me?

 

Regards,

Frank

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.