Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
Anonymous
Not applicable

How to Pass "NotIn" values in report query string parameter?

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

As you checked Operators list in this official documentationExclude filter / Not filters are not yet supported. You can raise a new idea and add your comments there to make this feature coming sooner. 

yingyinr_0-1629094326710.png

Best Regards

Anonymous
Not applicable

Thanks, @Anonymous, 

is there any way to get the full list of slicer drop-down values using javascript?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.