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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Complex Nested IF syntax needed..

Hi,

I wanted to use this formula in QlikView script but it is throwing syntax error as it is a complex nested IF !!

Please help

Formula:

if (Invoice_Date > 0 ) { (SQ *USP * AR_Exchange_Rate) + Freight_USD }

else { ( Order_Return_Quantity * Unit_Selling_Price*  Return_Exchange_RATE)  + Freight_USD

if (Nvl ( Order_Return_Quantity, 0 )==0) {0} }

Labels (1)
10 Replies
Anonymous
Not applicable
Author

This worked!

Thanks