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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nsm1234567
Creator II
Creator II

Ignoring dimension with set analysis

Hey There,

I'm battling to accomplish something and I'm wondering if someone can assist.  What I'm looking for is a chart that looks like the below.  The dataset I'm starting with is in the attached.  Is it possible to have the chart in the attached look like the below?  Any help would be greatly appreciated.

   

BrandDateLast Year TotalThis Year Total
3049826138101086
Company110/10/20153049826138101086
3 Replies
Anonymous
Not applicable

in both of your Expression use aggr around

=aggr(sum(if(TransDateNo=vYesterday,Sales)),Brand)

nsm1234567
Creator II
Creator II
Author

Hey There,

Thanks for the response.  This works for the specific case I've put forward, but if I were to add more dates the "this year" wouldn't line up with "last year."  What I'm going for is a list of dates with the two columns:  The total for the specific date, and the total for the "last year" date.

Anonymous
Not applicable

you should use a master calendar,

i made you a small example with your data (no complete mastercalendar)

look at the attached app

you need to select the year in the yearlistbox (select 2015 and you get both values)

if you only have two years you may adapt this solution