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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.