Forum Discussion
Scenario Help
- 8 years ago
Hi charles_o,
You can try the approach of McCow. Another method.
1. Create a middle table for all the scenario.
Scenario
Low Base High Low,Base Low,High Base,High Low,Base,High 2. Create a table for slicer.
SlicerScenario
Low Low Base Base High High Low Low,Base Base Low,Base Low Low,High High Low,High Base Base,High High Base,High Low Low,Base,High Base Low,Base,High High Low,Base,High
3. Create relationships and change the filter direction to Both.
Best Regards,
Dale
EDIT: Got to what I wanted with this- One last ask below!
Scenario =
IF (
Table1[Likelyhood] = "Certain",
"Low,Base,High",
IF (
Table1[Likelyhood] = "Expected",
"Base,High",
IF ( Table1[Likelyhood] = "Likely", "High",IF (Table1[Likelyhood] = "Hopeful", "High")
)
)
)
Looks like this:
I want to use a slicer on my dashboard to display the data by "Low", "Base", or "High". Currently my options are "Low,base,High", "Base,High", "high".
Any Suggestions?
Hi charles_o,
You can try the approach of McCow. Another method.
1. Create a middle table for all the scenario.
Scenario
| Low |
| Base |
| High |
| Low,Base |
| Low,High |
| Base,High |
| Low,Base,High |
2. Create a table for slicer.
SlicerScenario
| Low | Low |
| Base | Base |
| High | High |
| Low | Low,Base |
| Base | Low,Base |
| Low | Low,High |
| High | Low,High |
| Base | Base,High |
| High | Base,High |
| Low | Low,Base,High |
| Base | Low,Base,High |
| High | Low,Base,High |
3. Create relationships and change the filter direction to Both.
Best Regards,
Dale
- McCow8 years agoResolver III
Fantatic!
Thanks v-jiascu-msft
I change a little "Scenario" column:
Scenario = IF(SEARCH("likely";[Likelyhood];1;0)>0 || SEARCH("hopeful";[Likelyhood];1;0)>0 ;"High"; IF(SEARCH("expected";[Likelyhood];1;0)>0;"Base"; IF(SEARCH("certain";[Likelyhood];1;0)>0;"Low"; "Error" )//high )//base )//lowAnd THIS is a cAsE independent solution.
Best regs
- v-jiascu-msft8 years agoMicrosoft Employee
- charles_o8 years agoHelper I
I think we are misunderstanding this a bit.
Included in A CERTAIN High, Base, Low B EXPECTED High, Base C LIKELY High D HOPEFUL High Think about it like this
Low = A
Base = A + B
High = A + B+ C + D
So when I select "High", the data for Low and Base must also be included.
- McCow8 years agoResolver III
Yes, charles_o, right!
charles_o wrote:
......So when I select "High", the data for Low and Base must also be included.
And I don't see the collision. Our last solution is completely adjustable. All possible combinations must be in the table "Solution" described. I personally include this solution in my personally DAX-gems (thank v-jiascu-msft). Or somewhere exist some trouble? Specify pls