Forum Discussion
Create Dynamic Filtering based on slicer selection
The slicer options all reference different column for filtering so i want the filtering to be based on different column (e.g. When Email is selected, i want the page to filter on Email column =1, when SMS is selected in the slicer, i want the page to filter on SMS column = 1, etc). Another way I thought of was just create another column filter with the following condition:
If the selected value of the slicer is SMS then assign 1 when SMS column in the table is 1 else 0
If the selected value from the slicer is Email then assign 1 when Email column in the table is 1 else 0
If the selected value from the slicer is Email & SMS then assign 1 when Email and SMS column in the table is 1 else 0
If the selected value from the slicer is All then assign 1
Once i have the calculated column, i wanted to add it as a page filter and filter to 1. The trouble I am having is referencing the selected value in the calculated column.