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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create an Expression

Hey guys

I need to create an expression called Sales by using the following fields:

Quantity

Price

Discount

I already know i need to take Quantity and multiply it by the price and minus the discount. I can do that manually in expressions but i need to create a set expression and it may not be done by using a variable. Can anyone help me create it in the script or something?

Please, any ideas are welcome

11 Replies
Not applicable
Author

im sorry but i dnt understand???

Miguel_Angel_Baeyens

Blaze,

Your "ProductID" field exists in the two tables you are loading, "SalesOrderDetail" and "Product". The error ODBC is throwing and you posted above means that when you do the SQL query, and one fieldname exists in more than one table, you must specify the name of the table from where you want to get that field.

Take into account that the ODBC passes the same statement you have written, so if it has errors, the query won't be executed. I guess that you will get the same error if you perform the same query in your SQL console.

Hope that helps.