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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculated value in the main script

Hi Experts,

I'm wonder if it's possible to creat a calculate field in the main script.

My datasource are an excel file.

Example :

LOAD Date,

     Libellé,

     Débit,

     Crédit    

FROM

C:\Users...

I aim to do something like this:

LOAD Date,

     Libellé,

     Débit,

     Crédit,

     Sum(Credit+Debit) as Total

FROM

C:\Users...

Is it possible ?

Regards,

Pierre.

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

Yes. Try the following:

LOAD *, Crédit + Débit as Tot;

LOAD Date,

     Libellé,

     Débit,

     Crédit   

FROM

C:\Users...

View solution in original post

2 Replies
nagaiank
Specialist III
Specialist III

Yes. Try the following:

LOAD *, Crédit + Débit as Tot;

LOAD Date,

     Libellé,

     Débit,

     Crédit   

FROM

C:\Users...

Not applicable
Author

It works, thanks.