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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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
Partner - Champion III
Partner - Champion III

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