Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
daisy1438
Contributor III
Contributor III

help me on below issue in combo chart?

Hi 

we need to create below combo chart .

daisy1438_0-1631512026154.png

For bar: count( { < Contract_Status = {'Attivo','Esteso'}>}distinct Contract_ID) it sshow perfectly.

daisy1438_2-1631512164839.png

 

2)LIne chart: need calculate the    Max(reference date(Avg goslos )per Month & Year

avg(aggr(sum({<End_Date_Monthname={">=$(VMAX_REF_MONTHNAME)"}>}GOSLOS),End_Date_Monthname)) 

MAX_REF_MONTHNAME=date(max(monthname(Reference_date)),'YYYY-MMM')

but we are not getting proper result.month and year dimension converted into only year.max reference date id 2021 june only.chart must should be start from 2021 june instaed of from 2013.see the below chart after using line expression.

daisy1438_3-1631512583379.png

 

Please help me out ,if anyone having some time.

Thanks

daisy

 

 

 

1 Reply
sunny_talwar

May be try adding the set analysis to the Avg() expression also

Avg({<End_Date_Monthname = {">=$(VMAX_REF_MONTHNAME)"}>} Aggr(Sum({<End_Date_Monthname = {">=$(VMAX_REF_MONTHNAME)"}>} GOSLOS), End_Date_Monthname))