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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

can you use a predefined variable within a variable in qlikview

can you use a predefined variable within a variable in qlikview?

I want to use the following sum as a variable. Is it possible? If so, is the syntax correct?

sum({<Year*={2015},Type*={'school'}>} ($(vbook)/([area] * $(vchildren))
3 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Yes you can use the expression. your expression will work. if you have any issues post some sample qvw.

trdandamudi
Master II
Master II

The answer is yes.. Also please look at the below post which will give you a better view on variables... Hope this helps.

Re: Duplicate rows discarded when reloading Excel data by using FOR-NEXT loop.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The parentheses don't match up: sum({<Year*={2015},Type*={'school'}>} $(vbook)/([area] * $(vchildren)))


talk is cheap, supply exceeds demand