Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

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


talk is cheap, supply exceeds demand