Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Apply JSON Filter not working

So I have been following the steps that were outlined here https://microsoft.github.io/PowerBI-visuals/docs/concepts/filter-api/#basic-filter-api   I created a basic filter:      let target: IF...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Yep, I've realised now thanks. 

     

    It turns out the answer was simply to use

     

    visualhost.applyJsonFilter(advancedFilter, "general", "selfFilter", FilterAction.merge);

     

    instead of 

     

    visualhost.applyJsonFilter(advancedFilter, "general", "Filter", FilterAction.merge);

     

    This will filter the visual and not all the other visuals.