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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

add a calculated column

I need to add a calculated column, the table original is like bellow

NAMEPOINT
AAA1
BBB2
CCC3
DDD4
EEE5
FFF6
GGG7

i want to add a columne LEVEL, is value of point between 1 to 3, it's LOW, between 4 to 5, it's MEDIUM,else, HIGH

The final table is like this ? How to proceed???

NAMEPOINTLEVEL
AAA1LOW
BBB2LOW
CCC3LOW
DDD4MEDIUM
EEE5MEDIUM
FFF6HIGH
GGG7HIGH
Labels (1)
3 Replies
tresB
Champion III
Champion III

If(POINT<4, 'LOW', If(POINT<6, 'MEDIUM' , 'HIGH')) as LEVEL

alexandros17
Partner - Champion III
Partner - Champion III

LOAD

     NAME,

     POINT,

     If(POINT>=1 and  POINT<=3, 'LOW', If(POINT>=4 and  POINT<=5, 'MEDIUM', 'HIGH')) as LEVEL

...

Let me know

mdmukramali
Specialist III
Specialist III

Dear,

kindly find the attached file..

i hope it will help you.

thanks,

Mukram