Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Use of HidePrefix

Hi,

I recently was trying to understand system fields and that is when i came across Hideprefix/Hidesuffix statements.

When i set a symbol (%) with hideprefix i.e. SET hideprefix ='%' and use it for naming a field as %test, then %test is not displayed in current selection.

This is exactly as per the explanation in one of Qlik Discussion example on system fields

In order to understand whether hideprefix is a function or just another user-defined variable, i replaced it with user i.e. SET user='%'.

But still i cannot see %test in current selection. I have deleted hideprefix from Variable overview and also checked Show System Fields, but no luck.


Request someone to please answer how can i make filed %test visible again.

Also what is the significance of using hideprefix when associated values of the hidden field value can be seen?

Kind Regards,

Nupur

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

HIDEPREFIX and HIDESUFFIX are variables. The nature of variables is such that they stay set even if you don't actually initialize them anymore the next time you run your load script. But you can unset them by using the following ... SET

SET HIDEPREFIX=;

View solution in original post

6 Replies
Michiel_QV_Fan
Specialist
Specialist

Rename %test to test might do the trick.

Hide prefix is a way to hide your keys from selections. Or other fields that should not be selected for any reason.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

HIDEPREFIX and HIDESUFFIX are variables. The nature of variables is such that they stay set even if you don't actually initialize them anymore the next time you run your load script. But you can unset them by using the following ... SET

SET HIDEPREFIX=;

sujeetsingh
Master III
Master III

Better way is to rename the field and try.

jpenuliar
Partner - Specialist III
Partner - Specialist III

HidePrefix – hiding fields

a bit of explanation on this thread

Not applicable
Author

Hi Michiel,

Thank you for your quick response.

Not applicable
Author

Thank you all for quick responses.

Got much clear understanding now.

Kind regards,

Nupur