Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Dennis_Aguilar
Contributor
Contributor

Use calculated Dimension in the same LOAD

I am new in QlikView. Yet I have experience in R using the tidyverse library.

I have this code

temp_B:

LOAD

     dimension_1,

     dimension_2,

     dimension_1 + dimension_2 as dimension_3,

     dimension _1 * dimension_3

RESIDENT temp_A;

 

The problem arises when I try to use dimension_3  to multiply dimension_1. 

I have seen other codes where people usually do this:

      dimension _1 *(dimension _1  + dimension _2)

However, when calculations are too big I would rather use my way.

 

How do I achieve this?

 

Labels (3)
1 Solution

Accepted Solutions
sunny_talwar

Do it in a preceding load

temp_B:
LOAD *,
     dimension _1 * dimension_3;
LOAD
     dimension_1,
     dimension_2,
     dimension_1 + dimension_2 as dimension_3
RESIDENT temp_A;

View solution in original post

3 Replies
sunny_talwar

Do it in a preceding load

temp_B:
LOAD *,
     dimension _1 * dimension_3;
LOAD
     dimension_1,
     dimension_2,
     dimension_1 + dimension_2 as dimension_3
RESIDENT temp_A;
Dennis_Aguilar
Contributor
Contributor
Author

THANK YOU!

Shubham_Deshmukh
Specialist
Specialist

Mark it as a correct ans please