Forum Discussion
max007
3 years agoRegular Visitor
Apply multiple advanced filters from one custom visual
From a custom visual I want to filter two columns of a table not related to visual's data:
- a text column where all entries of a specific Value should be found
- a date column to filter for a date range
I've implemented an advanced filter that can do one of these tasks following this documentation: https://learn.microsoft.com/en-us/power-bi/developer/visuals/filter-api#the-advanced-filter-api
However, I can only use one of these two filters, because when the applyJsonFilter() method is called again, the first filter is overwritten. I tried adding a second filter with a different name to the capabilities.json, but this has no effect when calling it in the applyJsonFilter() method.
Is there any way to achieve this in a custom visual?
Thank you for your help
No RepliesBe the first to reply