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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expressions with {1}

Hi,

From the set analysis document, if we have an expression like

SUM({1}net)

it will ignore all selections except for the dimensions.

I have the following expression for a table with dimension ='Dimension'

SUM({1} {1<Year={'$vMaxYear'}, Date={'<=$vMaxDate'}>}net)

but my table doesn't disregard other selections and value changes if I select any other parameter.

Could someone please tell me what I am doing wrong here?

thanks,

Manoj

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this: SUM({1<Year={'$(vMaxYear)'}, Date={'<=$(vMaxDate)'}>}net).


talk is cheap, supply exceeds demand
Not applicable
Author

try like this

SUM({1<Year={'$vMaxYear'}, Date={'<=$vMaxDate'}>}net)

Not applicable
Author

if require put   end }

Not applicable
Author

I think I know what is happening. My variables (year and dates) are changing with selections causing the values to change. No difference by removing {1} though.

thanks,