Forum Discussion
Adding additional filters in advanced filtering panel
Hi Anonymous
You could try using a calculated column to achieve what you want. Please see the following code:
Filter = SWITCH(TRUE(),CONTAINSSTRING('SalesTeam'[Company],"Test1") || CONTAINSSTRING('SalesTeam'[Company],"Test2") || CONTAINSSTRING('SalesTeam'[Company],"Test3"),"Filter")Then add this column in the filters pane.
Please let me know if this works.
- Anonymous4 years agoNot applicable
Hi Seanan ,
Unfortunately this one doesn't work for my use case.
I'd like to be able to have 'and'/'or' functionality, using as many items as I'd like.
Thank you anyway... i guess i'll have to wait for a new feature update.
Sonia
- Seanan4 years ago
Solution Supplier
Hi Anonymous
The filter code above can be adjusted to hold as many and/or condtions are you'd like. However, it would be a lot of manual overhead if you needed to add or remove conditions.
Hopefully there is a release soon that will be better suited to your requirements.
- Anonymous4 years agoNot applicable
Thanks, Seanan
Yeah, the idea would be for the dashboard user to be able to add/remove conditions, so won't work to have in the code 😞
Thanks again!
Sonia