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: 
Not applicable

Adding new calculated collum to table

Hi everyone

I am loading data tables from an sql database into qlikview. I have a table containing a collum with "sales values" and one with with the "conversion rate" for the currency. I would like to create a "new collum" containing the calculated values sales values * currency rate. How would I have to script this?

Thank you very much for your help!

3 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

load *, [sales values] * [conversion rate] as NewField;

SQL your select ...;

Not applicable
Author

in the load statement add (sales_vales * currency_rate) as new_col

load ................

....................... as new_col

SQL SELECT.......;

Not applicable
Author

Awesome!  Thanks a lot