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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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