Forum Discussion
prashant_ora
8 years agoHelper 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
prashant_ora
8 years agoHelper II
how to add whatif paramter in data source, can u please tell me?
Greg_Deckler
8 years agoCommunity Champion
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:
So, you might have to get creative like just create a measure that is MyValue = MAX('Table'[Column]) for your parameter table.