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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
jjustingkm
Creator II
Creator II

ODAG Selections

I have an app with ODAG associated to it.  In the selection app, I have Region and Product. The question is I have noticed when I don't make a selection for Product in the main app, all products are listed in the ODAG script as below. The database I am using taking more time this way, instead if there is a way the script can ignore that condition if a product is not selected in the main app instead of listing everything in the script.

 

Product in (A,B,C,D,E,F,G,H)

Labels (1)
1 Solution

Accepted Solutions
marksouzacosta

Hi @jjustingkm,

I don't play with ODAG for a long time, but I believe you can use odags_/odagscnt_ variables to retrieve only the green selected values instead of using the default odag_ variable. This way you can manipulate your code according to what is selected or not.

marksouzacosta_0-1754657450983.png

 

Reference: Binding expressions in on-demand template apps | Qlik Sense on Windows Help

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

1 Reply
marksouzacosta

Hi @jjustingkm,

I don't play with ODAG for a long time, but I believe you can use odags_/odagscnt_ variables to retrieve only the green selected values instead of using the default odag_ variable. This way you can manipulate your code according to what is selected or not.

marksouzacosta_0-1754657450983.png

 

Reference: Binding expressions in on-demand template apps | Qlik Sense on Windows Help

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com