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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Question about set analysis

Hi,

I confused about set anlysis function. It's powerful.However If I want to write a expression include dimentions, the result is confusing.

Here is a example,

YearYearMonthsales
2006200601100
2006200602200
2006200603100
2006200604200
20072007011000
20072007022000
200820080110000
200820080220000


I want to get build a chart with Year as dimention and return first month and last month sales every year?

How to do it?

I had wrote a qvw in attachment, Pls help me to get it out.

2 Replies
Miguel_Angel_Baeyens

Hello,

You should use syntax like

sum({<YearMonth = {"$(=min(YearMonth))"}>} sales)
in any case. Dollar expansion in set analysis is always
$(=Function())
as the example above. Hope this helps.

Not applicable
Author

Thanks, you are right.

I just to try to use relative to the "year" dimention. It seems it only return one correct result.

How to deal this ?