Forum Discussion
Shubham04
Microsoft Employee
3 years agoSlicer filtering a table based on more than 1 column
Hi everyone, Problem statement is pretty simple that i want to dynamically filter a table based on more than 1 columns (or keys) upon my slicer selection. Here is the sample data structure for y...
- Anonymous3 years ago
Hi Shubham04 ,
According to your description, you want to use 'Table1'[Campaign] as the slicer and use the corresponding [Solution] field to filter the corresponding KPI table. Is that right?
You can refer to the following steps:
(1) My test data is the same as yours.
(2) We can create a measure:
Measure = var _slicer =VALUES('Table1'[Solution]) var _solution = MAX('Table3'[Solution]) return IF( _solution in _slicer ,1,0)(3) Then we help the measure to the corresponding visual "Filter on this visual", and then we can meet your needs.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Shubham04
Microsoft Employee
3 years agoYes, campaign is connected to account, see table2 for reference.
KPI table (table3) has its own solution field.