Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SunainaUmberkar
Contributor III
Contributor III

Avoiding Quality field names with table name in front end selection in qliksense app

Hello All,

This question is regarding Qualify statement. 

In Qualify statement, we always get tablename.fieldname. But can we avoid table name in the front end when we make selection? So that only fieldname is displayed in the selection.

I know the best way is to either rename the fields or concatenate and create a flag and use flag in front end. But if we don't want to do above both then basically Qualify statement is the option. But selection is an issue, is there a way to avoid it?

Thanks is advance. 

 

Labels (1)
3 Replies
whiteymcaces
Partner - Creator
Partner - Creator

I have been working with Qlik Apps for over 15 years and I have never used the Qualify Statement. I make sure I take the time to rename all the fields, that will be seen in the front end, within the script. Only fields that are seen in charts or that users make selections on.

vincent_ardiet_
Specialist
Specialist

You can do a massive renaming, this will not rename fields which could suddenly have the same name or those without the dot. You can make it better to avoid fields containing specific chars or names.

For t = 0 to NoOfTables() - 1
  mapRename:
  Mapping Load
  FieldName(RowNo(),TableName($(t))) as FieldName,
  SubField(FieldName(RowNo(),TableName($(t))),'.',2) as NewFieldName
  AutoGenerate NoOfFields(TableName($(t)));
Next t;
Rename Fields Using mapRename; 

SunainaUmberkar
Contributor III
Contributor III
Author

Hello Vincent,

Thank you for your response. I will try to implement this and check.