Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
QSense
Creator II
Creator II

Expression error

Hi,

İn chart, I want to show last 6 months value as minichart in chart

My expression below.

I dont know what is wrong?

Sum({<[Rapor Tarihi] ={">=date(today()-240),[Arıza Rapor Yılı]="} >} [Karşılanan Çağrı Oranı])

1 Solution

Accepted Solutions
Not applicable

Hi ,

try to use something like this

Sum({<[Rapor Tarihi] ={">=date(today()-240)  <=  date(today(),'DD/MM/YYYY' )  "} >} [Karşılanan Çağrı Oranı])

also you can take help from below code will help you for last six moths value

=Sum({<DateField={'>=$(=MonthStart(Max(DateField), -5))<=$(=MonthEnd(Max(DateField)))'}>} Sales)

Warm Regards,

Anant Debey


View solution in original post

4 Replies
Not applicable

Hi ,

try to use something like this

Sum({<[Rapor Tarihi] ={">=date(today()-240)  <=  date(today(),'DD/MM/YYYY' )  "} >} [Karşılanan Çağrı Oranı])

also you can take help from below code will help you for last six moths value

=Sum({<DateField={'>=$(=MonthStart(Max(DateField), -5))<=$(=MonthEnd(Max(DateField)))'}>} Sales)

Warm Regards,

Anant Debey


SunilChauhan
Champion
Champion

use like below

sum( {<date={">=$(addMonths(date,-6))<=date={>=$(addMonths(date,0))"} sales)

hope this helps

Sunil Chauhan
QSense
Creator II
Creator II
Author

Thanks for replies,

But they didnt work

[Arıza Rapor Yılı] the field expression wiil not be affected by it

Waiting for new solution

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try this

     sum( {<[Rapor Tarihi]={">=$(addMonths(Today(),-6))<=$(Today())"},[Arıza Rapor Yılı]=>} [Karşılanan Çağrı Oranı])

Celambarasan