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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis, make set analysis selection equal to listbox

Gents,

I like to make the selection of my sum command equal to the choosen week of a listbox.

Where Week  is the listbox field!

Therefore I made up the following set analysis command:

sum({<bdg.Week={$::Week}>} bdg.Budget_Marge)

somehow it doesn't work.... though no syntax error appears!

Who has got an idea???

Thx in advance!

F.

Labels (1)
1 Solution

Accepted Solutions
deepakk
Partner - Specialist III
Partner - Specialist III

HI,

You can also try this code.

sum({<bdg.Week=P(Week)>} bdg.Budget_Marge)

Deepak

View solution in original post

5 Replies
Not applicable
Author

Hii,

not sure about your field names,could you send a sample doc?

Not applicable
Author

I hope this code may help u..!!!

sum({<Week={'$(#Vweek)'}>} Data)

Vweek is a variable set as below


Vweek=concat(distinct Week, ';')

deepakk
Partner - Specialist III
Partner - Specialist III

HI,

You can also try this code.

sum({<bdg.Week=P(Week)>} bdg.Budget_Marge)

Deepak

Not applicable
Author

Hi All,

thx for all  the suggestions!

@Deepak: works fine, thx!!

What is the "P" for a command, never saw it?

cheers

F.

deepakk
Partner - Specialist III
Partner - Specialist III

hi,

"P" means possible values. You can check the help file for set analysis. At botton they have explained about P and E

functions.

Deepak