Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Hide Prefix

Hi All,

I wrote the below code in the script

SET HidePrefix='%';

X:

Mapping

Load

A,

B;

SQL SELECT A,

B as %B

From Loc:

I am getting connector error while debugging. I want to hide Column B from the script in Qliksense. How can I do it?

Thanks

in advance

24 Replies
wdchristensen
Specialist
Specialist

If you don't want to import B into qlik you can exclude it from the SQL query and then remove it from the Load section:

Load

A;

SQL SELECT A

From Loc

wdchristensen
Specialist
Specialist

sql.PNG

Also the % is a special character that will need to be wrapped in quotes for your alias.

Digvijay_Singh

May be this -

SET HidePrefix='%';

X:

Mapping

Load

A,

"%B";

SQL SELECT A,

B as %B

From Loc

Digvijay_Singh

Or may be -

May be this -

SET HidePrefix='%';

X:

Mapping

Load

A,

B as "%B"

SQL SELECT A,

B

From Loc

zebhashmi
Specialist
Specialist

B as [%B]

Anonymous
Not applicable
Author

I did this but did not work

Anonymous
Not applicable
Author

I need B on some other place just want to hide it.

Anonymous
Not applicable
Author

It did not work still I am getting general OLEDB error

Anonymous
Not applicable
Author

This is the error I am getting.error.PNG