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

Create a new dimension

Dear everybody

I`m a Qlik View beginner and I try to make a simple diagram. I have an excel sheet with some dimension. One dimension is the status which has 5 distinct values (1, 2, 3, 4, 5). Now I want to create a new dimension, which includes the value 1 til 3 from the dimension above. How can I do this?

Don`t laugh, beginners-life is very hard.

Thank a lot for your help.

Labels (1)
3 Replies
sujeetsingh
Master III
Master III

It means you are trying to get a dimension from the exsisting one just write as

Load...

field1

,field2

,if(field1>=3,Field1,Missing) as New Dimension

Hope this help you

fosuzuki
Luminary
Luminary

Try this:

LOAD RecNo() AS X

AutoGenerate(3);

MayilVahanan
MVP
MVP

Hi

Try like this

Load field1,field2 ,if(field1 <=3,field1) as New Dimension from tablename;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.