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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Renaming of columns/fields for users

Hi,

I have 2 separate data sets which are disjoint (I donot want to join them on any field).

But they have the same fields. Now to avoid JOINS I have renamed the fields, but I want to dispay the same name in Search Boxes and Current Selection Boxes.

For example - I have a column named NTA in both data sets and to avoid Joins I rename it to NTA1 in one data set.

When I create a 'Current Selection' Box I still want it to appear as NTA (instead of NTA1) for the user as that is the business description for that field.

How do I achieve it?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Try loading the second column with a space after 'NTA'

For example :

LOAD NTA as [NTA ]

View solution in original post

12 Replies
selvakumarsr
Creator
Creator

Try to use Qualify

Like this

QUALIFY;

One:

LOAD City

FROM

TestDel.xlsx

(ooxml, embedded labels, table is One);

QUALIFY;

Two:

LOAD City

FROM

TestDel.xlsx

(ooxml, embedded labels, table is Two);

Selva

MayilVahanan

Hi

Try with

NoConcatenate

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

i am not sure if you can do that, because if you want to do that you would have the rename both columns to the same name and then they will be joined, but in your case if you want them to be treated as one filed in the current selection box, why not joining them in your script and add another flag to distinguish between column 1 and 2.

SunilChauhan
Champion II
Champion II

there seems no option as of now. so might be its not possible .

try to  rename it as in script as required.

otherwise from front end we can't  do.

hope this helps

Sunil Chauhan
SunilChauhan
Champion II
Champion II

i dont  thing noconcatenate is a option for this .may be its create syn keys

please correct if am wrong

Sunil Chauhan
PradeepReddy
Specialist II
Specialist II


Try with 'NoConcatinate' option...

Sample script...

Customers_1:
Load * inline
[
CNo,CName
10,ABC
20,BCD
30,CDE
];

NoConcatenate

Customers_2:
Load * inline
[
CNo,CName
100,ABCD
200,BCDE
300,CDEF
];

If you execute the above script, synthetic keys will be formed. Check the results, wether the results are as expected or not..

Regards

Pradeep

Anonymous
Not applicable
Author

Hi,

You may get help from blog created by Henric.

http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/25/how-to-rename-fields

Thanks

MayilVahanan

Hi Sunil

Yes its form synthetic key when there is more than one field with same name.

But i thought he has only one same field.

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

Hi All

Thanks for all your suggestions. But can this be done w/o getting into synthetic keys ?