<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to make a chart title formula with conditional dimension label? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704365#M451397</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I currently have a widget that gives a list of variable options and converts the user choice into a variable `v_dimension` and a label as a master item.&lt;/P&gt;&lt;P&gt;Master Item is like this:&lt;/P&gt;&lt;P&gt;=if('$(v_Dimension)' = 'val_var_1', var_1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if('$(v_Dimension)' = 'val_var_2', var_2,&amp;nbsp; &amp;nbsp; &amp;nbsp;etc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (for the variables)&lt;/P&gt;&lt;P&gt;=if('$(v_Dimension)' = 'val_var_1, 'Var 1',&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if('$(v_Dimension)' = 'val_var_2, 'Var 2', &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(for the label)&lt;/P&gt;&lt;P&gt;At the moment I can use this formula for the chart:&lt;/P&gt;&lt;P&gt;='Weekly Chart by '&amp;amp;'$(v_Dimension)'&lt;/P&gt;&lt;P&gt;But I cannot see how to refer to the Master Item Dimension:&lt;/P&gt;&lt;P&gt;='Weekly Chart by '&amp;amp;'$(Master_Item_Dimension)'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(returns blank)&lt;/P&gt;&lt;P&gt;and actually both of these are not perfect. What I would like to do is return the master item label. Is there any way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a visual aid please see image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Giansonn_0-1590151538785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34133i9216DA9108D59EF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Giansonn_0-1590151538785.png" alt="Giansonn_0-1590151538785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 May 2020 17:19:36 GMT</pubDate>
    <dc:creator>Giansonn</dc:creator>
    <dc:date>2020-05-24T17:19:36Z</dc:date>
    <item>
      <title>How to make a chart title formula with conditional dimension label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704365#M451397</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I currently have a widget that gives a list of variable options and converts the user choice into a variable `v_dimension` and a label as a master item.&lt;/P&gt;&lt;P&gt;Master Item is like this:&lt;/P&gt;&lt;P&gt;=if('$(v_Dimension)' = 'val_var_1', var_1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if('$(v_Dimension)' = 'val_var_2', var_2,&amp;nbsp; &amp;nbsp; &amp;nbsp;etc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (for the variables)&lt;/P&gt;&lt;P&gt;=if('$(v_Dimension)' = 'val_var_1, 'Var 1',&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if('$(v_Dimension)' = 'val_var_2, 'Var 2', &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(for the label)&lt;/P&gt;&lt;P&gt;At the moment I can use this formula for the chart:&lt;/P&gt;&lt;P&gt;='Weekly Chart by '&amp;amp;'$(v_Dimension)'&lt;/P&gt;&lt;P&gt;But I cannot see how to refer to the Master Item Dimension:&lt;/P&gt;&lt;P&gt;='Weekly Chart by '&amp;amp;'$(Master_Item_Dimension)'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(returns blank)&lt;/P&gt;&lt;P&gt;and actually both of these are not perfect. What I would like to do is return the master item label. Is there any way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a visual aid please see image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Giansonn_0-1590151538785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34133i9216DA9108D59EF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Giansonn_0-1590151538785.png" alt="Giansonn_0-1590151538785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 17:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704365#M451397</guid>
      <dc:creator>Giansonn</dc:creator>
      <dc:date>2020-05-24T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a chart title formula with conditional dimension label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704671#M451408</link>
      <description>&lt;P&gt;Is the&amp;nbsp;&lt;SPAN&gt;Master_Item_Dimension a Field in the Table? Do you want to show this in the Label upon Selection?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 15:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704671#M451408</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-23T15:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a chart title formula with conditional dimension label?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704777#M451410</link>
      <description>&lt;P&gt;Sorry I have tried to make the question a little bit more explicit, one if statement in the master item gives the variable for the table and the other if statement gives the label. The I simply use the master item&amp;nbsp;variable in my chart and the rest is done for me e.g. the dimension label for the legend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when editing a chart title you can only use a couple of lines I dont know why, so my nested if statement doesnt work. therefore I need a workaround and I imagine a way to refer directly to the label or the variable would help. Sorry if this is a little complex.&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 17:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-chart-title-formula-with-conditional-dimension/m-p/1704777#M451410</guid>
      <dc:creator>Giansonn</dc:creator>
      <dc:date>2020-05-24T17:25:24Z</dc:date>
    </item>
  </channel>
</rss>

