Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

How to give meaningfull name to expression

I am completely new in Qlik sense and stuck in doing basic stuffs.  I have written  expression under Dimension. But do not know how to rename expression with meaningful name. below is my code.

if(PhysicalNature='S' and ParentNodeName='W_S07_FINANCESVC','Finance & Legal Services'). when i qlik on the filter it shows expression name as shown in attachement.

KIndly help!!

9 Replies
ogster1974
Honored Contributor II

Re: How to give meaningfull name to expression

‌Your done nothing wrong this is how qlik is supposed to work.  When you filter your data model qlik will identify the elements of your model used in the filter and display accordingly.   If it showe'd an alias you applied to the particul measure or dimension in a chart how will the user know what they have filtered on.

EXample there is no reason why I can't call country product in one chart and in the other next to it product country.   Shoud we display in the filter product=Germany and country=baked beans.   A silly example but hopefully illustrate the point.

REgards

ANdy

sinanozdemir
Valued Contributor III

Re: How to give meaningfull name to expression

You can give a meaningful name to the expression by typing a name in the Label field:

Capture.PNG

Not applicable

Re: How to give meaningfull name to expression

Thanks for quick response.. much appreciated..  I tried using label name  but still  formula as expression is appearing in filter.. please refer to the screen attached.

sinanozdemir
Valued Contributor III

Re: How to give meaningfull name to expression

Can you attach your qvf by any chance?

krishna_2644
Valued Contributor III

Re: How to give meaningfull name to expression

ther will a place 'Label' to enter your custom field name

ogster1974
Honored Contributor II

Re: How to give meaningfull name to expression

IT does not matter what you label your expression in the chart.  The label You give will only display in the confines of the chart it is used iN. THe area you are looking at is the filter bar which is app wide and as such will display names relevant to your data model note the chart you filtered from.

nelsoncarmo
New Contributor II

Re: How to give meaningfull name to expression

Hy Itban,

could You  solve this problem? I'm having the same.

Thanks

Nelson

kidbank3
Contributor III

Re: How to give meaningfull name to expression

I've solved this issue in my apps by moving the logic to the script.

It is also beneficial from a performance standpoint to move a calculated dimension to the load script.

Mike

nelsoncarmo
New Contributor II

Re: How to give meaningfull name to expression

I will try It.

Thank you Mike.

Nelson

Community Browser