1 Reply Latest reply: Jan 29, 2016 7:57 AM by balraj ahlawat RSS

    Line chart not showing title set in expression editor in Qlik sense

    Disha Ahuja

      Hi All,

       

      I have a line chart showing count for a name selected in filter date wise. In case no name from filter is selected, chart depicts data for a default name set in a variable.

       

      Now i want to show the title of that chart as the name for which it is reflecting data.

       

      I am using the following expression to do this.

       

      if(getselectedcount(name)=0,

           $(name_default),

           getfieldselections(name))

       

      The filter is limited to select only one value at a time.

       

      Other than getfieldselections(), i also modified the expression as follows:

       

      if(getselectedcount(name)=0,

           $(name_default),

           name)

       

      Now, instead of name, i get the following error message:

       

      title.jpg

      Can anyone let me know what i am doing wrong.

       

      Thanks in advance.

       

      Regards,

      Disha Ahuja