Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have embedded the report in the web app through app only scenario
for exporting the report in PDF/PPT format using exportToFile API, I want to pass the report level filters based on selected values from slicers.
I am able to get all the filtered items from Slicers using visual.getSlicerState() method by javascript code.
but when the user will deselect some of the values from the slicer, visual.getSlicerState() method will return the list of those excluded values with "NotIn" operator.
As per the Export API article, we have to pass the report filters in the format of query string parameter (URL Filters).
and if we look at the query string parameter article, there is no such operator available for "NotIn".
so, I want to pass all the slicer values excluding the deselected values using "In" operator.
but somehow I am not able to access the full list of slicer drop-down values.
does anyone have any idea how to get the full list of slicer drop-down values using javascript?
or
how to pass "NotIn" in query string parameter filters?
Thanks in advance
Hi @Anonymous ,
As you checked Operators list in this official documentation, Exclude filter / Not filters are not yet supported. You can raise a new idea and add your comments there to make this feature coming sooner.
Best Regards
Thanks, @Anonymous,
is there any way to get the full list of slicer drop-down values using javascript?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |