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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Upali_Wijearatne
Contributor III
Contributor III

Variable with Set Modifier

Hi Friend

Upali_Wijearatne_0-1617295266779.png

I have created a variable as shown in Scn 1 and I want add  set modifier to it only at the expression of my pivot table. I have tried it as shown marked in red color. But It does not work, But if I use as shown in scn 2 It works. Kindly help me add set modifier to varible

1 Reply
eddie_wagt
Partner - Creator III
Partner - Creator III

Hello @Upali_Wijearatne ,

Is it possible to share data or QVW? Otherwise it will be hard to see what you exactly are trying to achieve. It looks like you want to add a set modifier within an expression that you have declared as a variable. If you want to add an set modifier you will have to make a 'placeholder' within the expression you have written under vActual.

vActual = sum({$<DECRIPTION={'Sales'}$(vBusinessRule1)>}ACTUAL)

In this way you can define vBusinessRule1 (with a condition)....?

But again it is hard to help you without the example..

Regards Eddie