Forum Discussion
mm306
6 years agoRegular Visitor
Using slicer data as result to if else statement
I have the following table. I wish for the Cost values to be provided by the slicer output, whereby each cateogy has a cost slicer that a user can select the value from. Is there a way to do so? ...
amitchandak
6 years agoSuper User
mm306 , that should come by default when you filter using slicer. What is expected outcome?
mm306
6 years agoRegular Visitor
Cost = if (Table1[Category]="High",[cost_high],if(Table1[Category]="Medium",[cost_medium],if(Table1[Category]="Low",[cost_low])))
And the output for column Cost above is BLANK.
Is there a way for the Cost to reflect the slicer output?
Thanks.
- v-chuncz-msft6 years agoCommunity Support
- mm3066 years agoRegular Visitor
Thanks for the replies.
May I have some example please, on how to create the measure?