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
prashant_ora
Helper II
Helper II

whatif analysis

Hi,

 

I am using tabular model for analysis and need to use whatif analysis paramter. I am not able to enable it. Please let me know how i can do it.

 

Thanks

Prashant

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

You have to be on the report canvas for the button to be active. 



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...

Pl see the attached pic, i am on  the report canvas,but that button is not enabled.

 

 

whatif.png

 

 

 

 

 

Hmm, might be version dependent. Try going to File | Options and settings | Options and then go to Preview Features and see if it shows up there and if it does, confirm that the box is checked.

 

Oh, also, is this a Direct Query report? I don't believe that functionality is available in a Direct Query report because you can't mix "live" and "imported" data yet.



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...

Yes its a direct query, but if i need to do the whatif anaysis with direct query then how i can do it.

You would add the desired What If parameter table to your model in your source.



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...

how to add whatif paramter in data source, can u please tell me?

I don't know your source but all a What If parameter table is is a list of all possible values that you would like to evaluate something on. So, if I wanted to evaluate something for all possible % values in 10% increments I would have a table like:

 

0

.1

.2

.3

.4

.5

.6

.7

.8

.9

1

 

Then you create a slicer based on this table and use SELECTEDVALUE function to get the current value selected.

 

Hmm, one thought, I don't believe that SELECTEDVALUE is supported in Direct Query:

https://docs.microsoft.com/en-us/sql/analysis-services/tabular-models/dax-formula-compatibility-in-d...

 

So, you might have to get creative like just create a measure that is MyValue = MAX('Table'[Column]) for your parameter table.



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
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.