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
seanstead
Regular Visitor

Scenario analysis: predefined and user-controlled

Hello everyone

I'm creating a scenario analysis for Altman Z (a company's financial risk), and I've successfully created 2 round-the-box: EBIT change and sales change. code as follows:

Public change scenario ?
SUMX( 'AltmanZ (Public)' ,
'AltmanZ (Public)'[Earnings before interest and taxes] * ( 1 + [EBIT Scenario] ) / 'AltmanZ (Public)'[Total Assets] ) * 3.3 +
"AltmanZ (Public)",
'AltmanZ (Public)'[Working Capital] / 'AltmanZ (Public)'[Total Assets]) * 1.2 +
"AltmanZ (Public)",
'AltmanZ (Public)'[Retained Earnings] / 'AltmanZ (Public)'[Total Assets]) * 1.4 +
"AltmanZ (Public)",
'AltmanZ (Public)'[Wealth Market Value ] / 'AltmanZ (Public)'[Total Liabilities]) * 0.6+
"AltmanZ (Public)",
'AltmanZ (Public)'[Sales] * ( 1 + 'Percentage of Sales Change'[Sales Scenario] ) / 'AltmanZ (Public)'[Total Assets] * 0.999 )

Problem:

my current solution is controlled exclusively by the user. I'm looking to have 2 options - user-controlled and predefined. For the presets, I want 3 options: that for each one I would select to say:

option 1: Bit change -10% and change sales -10%

option 2: Bit change -30% and sales change -30%

option 3: Bit change +20% and sales change + 20%

How do I have a preset switch and user control? and then set option 3 to preset?

Thank you!

power bi grab.png

5 REPLIES 5
seanstead
Regular Visitor

Hi all,

 

I am creating some scenario analysis for Altman Z (financial risk of a company), and have successfully created 2 varables: EBIT change and Sales change. code as follows:

Scenario Changed Public =
SUMX( 'AltmanZ (Public)' ,
'AltmanZ (Public)'[Earnings Before Interest and Tax] * ( 1 + [EBIT Scenario] ) / 'AltmanZ (Public)'[Total Assets] ) * 3.3 +
sumx ('AltmanZ (Public)' ,
'AltmanZ (Public)'[Working Capital] / 'AltmanZ (Public)'[Total Assets]) * 1.2 +
sumx ('AltmanZ (Public)' ,
'AltmanZ (Public)'[Retained Earnings] / 'AltmanZ (Public)'[Total Assets]) * 1.4 +
sumx ('AltmanZ (Public)' ,
'AltmanZ (Public)'[Market Value of Equity ] / 'AltmanZ (Public)'[Total Liabilities]) * 0.6 +
sumx ('AltmanZ (Public)' ,
'AltmanZ (Public)'[Sales] * ( 1 + 'Percent Sales Change'[Sales Scenario] ) / 'AltmanZ (Public)'[Total Assets] * 0.999 )

 

Problem:

my current solution is purely user controlled. I am seeking to have 2 options - user controlled and pre-defined. For pre-defined, I want 3 options: which for each would select say: 

option 1 : Ebit change -10% & Sales Change -10%

option 2 : Ebit change -30% & Sales Change -30%

option 3: Ebit change +20% & Sales Change + 20%

 

How can I have a toggle for pre-defined and user control? and then set up the 3 option under pre-defined?

 

thanks!

 

 

 

 

 

 

 

 

power bi grab.png

See response here: https://community.powerbi.com/t5/Desktop/Scenario-analysis-predefined-and-user-controlled/m-p/106413...


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
v-kelly-msft
Community Support
Community Support

Hi  @seanstead ,

 

I agree with what suggested by Greg,bookmarks may be the best choice for you.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Greg_Deckler
Community Champion
Community Champion

 


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

Use Bookmarks with buttons. When you save the report before publishing, make sure that are on Bookmark 3.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.