Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can I un-select all selections before setting new selection via api

Qlik Sense extension :

I can set new selection like this ..

self.backendApi.selectValues(dim, [value], true);  // this simply add new selection to array

But before doing that I want to clear all selections ..

self.backendApi.clearSelections();   //  tried this but its not working ..

Some how I cant clear selections ?  I just want one selection to be active

10 Replies
rbecher
Partner - Master III
Partner - Master III

Thanks, it's working now.

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine