Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trend line showing the combination of data?


Hi,

I have two Line charts.

Chart A have

Dimension: Band

Expression: Sum(Number of Cases)

Chart B Have

Dimension: Band

Expression: Sum(Cases)

I want to combine the two charts. I need to show the trend line of sum of Cases when compared to last week and current week.

Can anyone suggest me please how to set this.

Thanks.

12 Replies
Not applicable
Author

Please see attached.

bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

maybe I don't understand, but you could add an expression in the first chart with sum(Cases)

Not applicable
Author

Yes just now I did But I need the trend line which shows the decrease or increase of cases. Is it possible?

bbi_mba_76
Partner - Specialist
Partner - Specialist

So like sum([Number of Cases])-sum(Cases)?

Not applicable
Author

Thanks. I tried the same but it's not working. Any solution please?

its_anandrjs

Update :- Little change in the expression now check

For Week 15042014 Use

Dimension:- Band

Expression:- Sum({< Date = {'$(=date( WeekStart(Today())-6))'}>} [Number of Cases])

and For Week that is today 2304014

Dimension:- Band

Expression:- Sum({< Date = {'$(=Today()))'}>} Cases)

bbi_mba_76
Partner - Specialist
Partner - Specialist

this is not correct?

Not applicable
Author

Is it possible to show the trend line with these expressions?

Not applicable
Author

See attached.