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
tval
Advocate I
Advocate I

setSlicerState javascript method does not work

I am trying to setSlicerState using the JS API and am getting an error of "Unable to get property 'JsonFilterBuilder' of undefined or null reference".  I get the same error using the Power BI demo site, so apparently it's not just me.  I tried Chrome and Edge, and tried JS 2.6.0, 2.61, and 2.63 and all fail with same error. I have not yet tried setting the slicer prior to report loading, but this is not ideal for my use case.

 

 I'd like to also mention how un-cool it was to take down Issue page on GitHub.  It cut off the community's direct communication to devs and broke thousands of links across the internet.  Big frowny face for that one.

 

1 REPLY 1
tval
Advocate I
Advocate I

Ok, it must be server side and not in the JS because even though it was fixed for awhile when I upgraded to 2.6.4, it is now happening again!

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.