Forum Discussion
jaypi
8 years agoFrequent Visitor
Advanced Filter API
When invoking the this.visualHost.applyJsonFilter method consecutively to apply the filter on two different calls only the latest applied filter is getting applied. Do you face this issue, any gui...
jaypi
8 years agoFrequent Visitor
Hi Ignat yes, we are applying 2 filters using applyJsonFilter one after the other. Even after using the newly added Filter Action only one filter is getting applied. Thanks Jay
v-viig
8 years agoCommunity Champion
As far as I know, Advanced Filter API allow to apply only one filter.
In other words, if you call applyJsonFilter a few times only the last filter will be applied.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- jaypi8 years agoFrequent VisitorHi Ignat, If you look at the 1.8.0 there is a FilterAction parameter added to applyJsonFilter, the documentation doesnt explain the purpose - could you please help understand the purpose behind this parameter. https://github.com/Microsoft/PowerBI-visuals-tools/blob/f5ff3a9f14b6648aa6728209414f587452eb4b64/templates/visuals/.api/v1.8.0/PowerBI-visuals.d.ts#L1368 Thanks Jay
- v-viig8 years agoCommunity Champion
I'll contact Power BI Csutom Visuals API team to get details.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals