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: 
prma7799
Master III
Master III

error in script

Hi All,

I got an error below highlighted pink colored code...

if(len(RegFromDate)>0 and len(RegToDate)>0,

sum(aggr(sum({<REGISTERED_DT_Num={">=$(RegFromDate) <= $(RegToDate)"},STATUS = {'Settled'}, TYPE_CLM={'Star Care Plus 4'}, STAR_CARE_SHARE_PART=-{0},X_PRODUCT_LINE=>}
WOClaimed),Dealer_Alias,NAME_DIV,WRNTY_NUM)),

sum(aggr(sum({<STATUS = {'Settled'}, TYPE_CLM={'Star Care Plus 4'}, STAR_CARE_SHARE_PART=-{0},X_PRODUCT_LINE=>}WOClaimed),Dealer_Alias,NAME_DIV,WRNTY_NUM))

)

Thanks

1 Reply
Gysbert_Wassenaar

The expression editor doesn't understand -= and will show the expression as incorrect. But that's a bug in the expression editor. It does not necessarily mean that the expression is incorrect and will not work.


talk is cheap, supply exceeds demand