Qlik Community

Qlik Education Discussions

Discussion Board for collaboration related to Qlik Education.

Not applicable

keep a time period as whole

Dear All,

I am trying to prepare a very basic set analysis and it seems to work very well so far.

It includes all typical values as turnover, products, areas, etc for all 12 months and for different years.

Now I need to add a matrix which has to represent the trend of sold quantities from jan to dec for all 5 years.

It means I need to always show all 5 years and all 12 months for each year. (See below example)

yearmonthsold product A
2010Jan150€
2010Feb162€
.........
2011Jan148€
2011Feb153€
.........
2014Sep163€
2014Oct154€
2014Nov142€
2014Dec162€

It has to depend only by the selected product (or products if I select more than one). I am not able to use the set analysis since it results affected by the selected period.

Which is the suggest to have this matrix and relevant graph shown on QV independently by the selected year/month?

Thank you in advance

Massimo

1 Solution

Accepted Solutions

Re: keep a time period as whole

This expression would ignore selections in the Year and Month field:

sum({<Year=,Month=>}SalesAmount)


talk is cheap, supply exceeds demand
2 Replies

Re: keep a time period as whole

This expression would ignore selections in the Year and Month field:

sum({<Year=,Month=>}SalesAmount)


talk is cheap, supply exceeds demand
Not applicable

Re: keep a time period as whole

Thanks Gysbert,

it was easier than what I thought.

It works properly.

Community Browser