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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create a name for a calculated dimesion

Hello

This may be a dump question but I am struggling to find the answer online.

When you create, say a long table, and you add a calculated dimension
(e.g. if(title = 'Mr', title, null())  ) and you want to rename this calculated dimension to say  'Name Mr', how could you do this??

There are no instructions on how you can rename a calculated dimension on the user manual?

I'm new to qlikview so any help would be much appreciated!!

2 Replies
sunny_talwar

May be this:

If(title = 'Mr', 'Name Mr', null())

Siva_Sankar
Master II
Master II

May be you can handle this in the script itself and create an alias. The use the alias name in your calculated dimension.

YourTable:

Load *,

if(title = 'Mr', title, null())  ) as 'Name Mr';

yourfield1,

yourfiled2,

...

....

from yourtable;

use now 'Name Mr' in your dimension.