Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

chart problem

hi

this is my problem:

i have a chart and i have to represent a value that is not in the cloud. it is external.

i find a solution using an expression and the " if " , but i would like to use a set analysis if it is possibile.

someone can help me?

i attach an example, my solution , very simple. i have the element year2 that is external and i use as dimension.

Regards.

1 Solution

Accepted Solutions
vgutkovsky
Master II
Master II

Alberto,

Actually, your IF is not working properly either. Here is the correct information:

year2 sum(price)
127
2005127
2006127
2007127
2008127
2009127
2010127


The set analysis expression would be: sum({<year2=P(year)>}price) which does produce the correct results (a flat line over 2 of the years).

Cheers,

View solution in original post

1 Reply
vgutkovsky
Master II
Master II

Alberto,

Actually, your IF is not working properly either. Here is the correct information:

year2 sum(price)
127
2005127
2006127
2007127
2008127
2009127
2010127


The set analysis expression would be: sum({<year2=P(year)>}price) which does produce the correct results (a flat line over 2 of the years).

Cheers,