Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
max007
Regular 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

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.