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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculation in inline is it allowed

when i scripted as follows i cud not get data for cost/10...y it is so?

load * Inline [ id,cost,(cost/10)

101,500

102,790

103,900

];

1 Solution

Accepted Solutions
senpradip007
Specialist III
Specialist III

Try like

load id,cost,(cost/10) As NewCost Inline [

id,cost

101,500

102,790

103,900

];

View solution in original post

6 Replies
Not applicable
Author

You can try doing it after the Inline using Resident of that Table and then Droping it.

anbu1984
Master III
Master III

Load id,cost,(cost/10) Inline [

101,500

102,790

103,900

];

senpradip007
Specialist III
Specialist III

Try like

load id,cost,(cost/10) As NewCost Inline [

id,cost

101,500

102,790

103,900

];

Not applicable
Author

which table 2 drop n y 2 drop it?

Not applicable
Author

it gives error dude s it cant find the field names u specified...

field names r needed prior 2 data

Not applicable
Author

This is what I meant

Table_Temp:

load * Inline [ id,cost

101,500

102,790

103,900

];

Table:

Load

id,

cost,

(cost/10)

Resident Table_Temp;

Drop Table Table_Temp;