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

Re: embed filter issue

$
0
0

In your embedConfiguration, is "filter" or "filters" (with an 's')?

 

Per the documentation, I believe it is filters.

Also, it should be an array  i.e., filters: [ defaultFilter.toJSON() ]

 

Please give it a try and let me know because I too am having issues setting the filters in the embeddedConfiguration. I get the following errors in the console 

https://wabi-us-north-central-redirect.analysis.windows.net/powerbi/metadata/models Failed to load resource: the server responded with a status of 401 (Unauthorized)
Uncaught
  1. Array[3]
    1. 0:Object
      1. message:"filters is invalid. Not meeting type constraint"
      2. __proto__:Object
    2. 1:Object
      1. message:"filters is invalid. Not meeting type constraint"
      2. __proto__:Object
    3. 2:Object
      1. message:"filters property is invalid"
      2. __proto__:Object
    4. length:3
    5. __proto__:Array[0]

Viewing all articles
Browse latest Browse all 48576

Trending Articles



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