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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

Invalid Expression

Invalid expression

F42119:

LOAD *,


((Num(If(Match(LineType,'B','BF','BN','BX','CD','CM','CN','EC','F','FN','N','IA','IC','J','JN','K','L','LC','M','N','N1','N2','N3','N4','NA','NK','NS','P','R','SI','SM','T','T1'),0,UnitCostUSD))*OrderCostQty))+ExtendedCostUSD as ExtendedCostUSDADJ,

(ExtendedUSD-sum((Num(If(Match(LineType,'B','BF','BN','BX','CD','CM','CN','EC','F','FN','N','IA','IC','J','JN','K','L','LC','M','N','N1','N2','N3','N4','NA','NK','NS','P','R','SI','SM','T','T1'),0,UnitCostUSD))*OrderCostQty)+ExtendedCostUSD))/ExtendedUSD as MarginUSD

RESIDENT F42119Temp2




i got this error, anyone knows why? i'm driving crazy..

Thanks!

2 Replies
el_aprendiz111
Specialist
Specialist

Hi Antonio

sum((Num(If(Match


Group By ......



You could share a sample of data.

Anil_Babu_Samineni

Can you share full script here?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful