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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
andreamay
Contributor
Contributor

Load Calculated Fields

Hi all, I'm new in Qlik and actually I'm working still in Qlikview.

Here my problem:

I want to load a table but with some new field that are calculated from the same fields of the table.

So here my script structure:

LOAD "A",

"B",

"C",

"D",

"E",

"F",

"A" * "B" as "G",

"C" -"D" as "H";

SQL SELECT 

"A",

"B",

"C",

"D",

"E",

"F"

FROM............;

RENAME TABLE... ;

 

The main proble is that Qlik say "I can't find field "G" 

Where is the main problem ?

 

2 Replies
PrashantSangle

your code look good to me.

Can you post screen shot of the actual script with error screen shot.

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
abhijitnalekar
Specialist II
Specialist II

Try Preceeding load as below.

LOAD*,

"A" * "B" as "G",

"C" -"D" as "H";

LOAD "A",

"B",

"C",

"D",

"E",

"F"

;

SQL SELECT 

"A",

"B",

"C",

"D",

"E",

"F"

FROM............;

RENAME TABLE... ;

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!