Forum Discussion
Dynamic Filters on Dimension and Measures
Can isue Swicth in stead of if so that I can do it in single siwtch statement like blow:
SWITCH(SelectedValue(TableDimension[DimensionName]), "Delivery Type", Table[Delivery Type],and so on
unfortuantely i don';t think switch will work on this, and I also thing selectedvalue is going to work , I just gave you an idea, selectedvalue only works if user select one value in the slicer.
- parry2k8 years ago
Super User
Instead of selectedvalue you need to check following and that will take care if use selected more than one value in slicer:
if("Delivery Option" IN VALUES(TableDimension[DimensionName]), Table[Delivery Option], BLANK()) - Anonymous8 years agoNot applicable
Created a below column
SelectedDim = IF(SELECTEDVALUE('Dimensions'[Dimensions])="Delivery Type",KPI_Sales[Delivery Type],"NUll")
when I select Delivbery Type in slicer below it still does not refletc Delivery Type with its values form main table.
It seems Selected Value is not working for single value too.
Thanks
- parry2k8 years ago
Super User
please add it as measure
- Anonymous8 years agoNot applicable
Adding it as measure will ask me to specify aggrgation....but I want that whole coulmn to display after selection and not aggrgated value.