qliksense - Qlikview Current selections box to use labels rather than table.fieldnames -


in qlik view document want change current selections information use label applied field rather table.field format.

for example

partstable.partno

would be

part number

unfortunately there's no way in current selections object. however, may have alternatives depending on requirements.

first of all, if you're happy seeing current selections text (rather having functionality of current selections object), can create text object , use expression:

=replace(getcurrentselections(), 'partstable.partno', 'part number') 

this below:

qlikview text object , list box partstable.partno

the other alternative use rename statement in load script after table loads complete. rename allows rename single field or collection of fields using mapping table. syntax single field shown below:

rename field oldname newname 

if should need rename more 1 field @ time, can expand to:

rename field oldname1 newname1, oldname2 newname2,... 

more detail on syntax including using mapping table can found in qlikview installed file.

for example, put small demo:

qualify *;  partstable: load * inline [     partno     100     200     300 ];  unqualify *;  rename field partstable.partno [part number]; 

this results in:

the renamed field alongside current selections object

rename similar alias (as) statement, except can first load of data, , rename @ end. rename field appears under new name in front-end controls (e.g. current selections etc.) however, may not suitable if have existing field named part number in script.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -