Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49653

Re: PowerBI JavaScript - Filter not showing on filter panel when rendering visual

$
0
0

After further investigation, with the previous versions of powerbi.js (2.7.4) I would set a default filter like this:

 

visual.setFilters("[]")

 

Now, this command is wiping the default filters of the report as you can see in the example above. After making some tests I could verify that if I set the filter with "null" as string the filters are not affected.

 

visual.setFilters("null")

 

So my question is: should I use the newer version visual.setFilters("[]") or visual.setFilters("null") or is this a temporary bug?

 

I have clients complaining about this already!


Viewing all articles
Browse latest Browse all 49653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>