<?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 Re: Change chart expression based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545528#M744605</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, that is probably where this is going, it is how the variable and the list box interact that is what to work out.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 19:33:02 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2019-02-17T19:33:02Z</dc:date>
    <item>
      <title>Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545401#M744597</link>
      <description>&lt;P&gt;Hi community!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like alter the chart expression based on the list box selection made.&amp;nbsp;&lt;BR /&gt;The expression I would like to be dynamic is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;[Info Bransch]=P({$} [Info Bransch])&amp;gt;}[EBIT-marg Senaste])&lt;/P&gt;&lt;P&gt;Where [EBIT-marg Senaste] should change given my selection in the list box (EBIT-marg Senaste is a dimension).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;THankful for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545401#M744597</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545404#M744598</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;In this case the set analysis/P() seems redundant, you use that where you need to do something more complex based on selections on another field or having 'cancelled' selections on another field (which is what you other thread was doing).&lt;/P&gt;&lt;P&gt;Curious that&amp;nbsp;&lt;SPAN&gt;EBIT-marg Senaste&lt;/SPAN&gt; is both a dimension and a measure (since you are taking an average) - although is possible in Qlik.&lt;/P&gt;&lt;P&gt;May be easier with a picture of what you would like to happen &amp;amp; a small chunk of sample data.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 11:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545404#M744598</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-16T11:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545411#M744599</link>
      <description>&lt;P&gt;The P()function is used in this case to generate the average EBIT-margin for all the peers of the selected company, i.e. companies with the same "info bransch" as the selected company.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the below picture, I would like to change the values of the chart table (red arrow) based on the list box selection (red circle). I've also pasted a picture of my data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2019-02-16_13-10-47.png" style="width: 837px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6174iE6EF95D76FF78FAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2019-02-16_13-10-47.png" alt="Snipaste_2019-02-16_13-10-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 12:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545411#M744599</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-16T12:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545413#M744600</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2019-02-16_13-14-52.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6176iED3D620BF4FB3750/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snipaste_2019-02-16_13-14-52.png" alt="Snipaste_2019-02-16_13-14-52.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 12:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545413#M744600</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-16T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545415#M744601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ok. You still need to cancel the selection on company in the set to get the peers, &lt;SPAN&gt;I think looking at your spreadsheet Company is Bolagsnamn, so&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;&lt;STRONG&gt;&lt;SPAN&gt;Bolagsnamn&lt;/SPAN&gt;=,&lt;/STRONG&gt;[Info Bransch]=P({$} [Info Bransch])&amp;gt;}[EBIT-marg Senaste])&lt;/P&gt;&lt;P&gt;But looking at your dashboard I think you also need this to be looking at a specific date &amp;amp; the other objects have time series? In which case I think that needs added to the set, depending on how your time series data works.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545415#M744601</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-16T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545416#M744602</link>
      <description>&lt;P&gt;OK, I've included Bolagsnamn in the set.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The time series can be ignored since this data is gathered from another source and I only have time series data for a very limited number of companies.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How would you go about making the expression dynamic i.e. changing "EBIT-marg Senaste" to the list box selection?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Philip&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 13:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545416#M744602</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-16T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545430#M744603</link>
      <description>&lt;P&gt;Hi Philip,&lt;/P&gt;&lt;P&gt;What field does that list box look at?&lt;/P&gt;&lt;P&gt;I am slightly lost with your data model. If the EBIT-marg Senaste etc exists both as a member of a field, and the name of a field then you could use a list box on the field it is a member of, to then make a selection and then use a dollar sign expansion to use that in the aggregation expression, so something similar to;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190216_2.png" style="width: 624px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6177iE675AE35768D266C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190216_2.png" alt="20190216_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190216_3.png" style="width: 596px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6178i7F1FDEE6111643FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190216_3.png" alt="20190216_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190216_4.png" style="width: 316px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6179i3016D3D4AA67F961/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190216_4.png" alt="20190216_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But there are other ways of populating the list box that mean that is not required in the data model &amp;amp; this approach would not work.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 16:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545430#M744603</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-16T16:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545461#M744604</link>
      <description>&lt;P&gt;Quick question before sharing an example file - isn't it possible to replace the "EBIT-marg Senast" text string with a variable? Where the text string generated by the variable changes with a list box selection.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Philip&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 20:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545461#M744604</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-16T20:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545528#M744605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, that is probably where this is going, it is how the variable and the list box interact that is what to work out.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 19:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1545528#M744605</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-17T19:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1546681#M744606</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've created a variable (varLönsamhet) that generates the text string I want to replace "EBIT-marg Senaste" with in below statement:&lt;BR /&gt;&lt;BR /&gt;=Avg({&amp;lt;[Bolagsnamn]=,[Info Bransch]=P({$} [Info Bransch])&amp;gt;}[EBIT-marg Senaste])&lt;BR /&gt;&lt;BR /&gt;How do I incorporate the variable in this expression?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;FYI - varLönsamhet = GetFieldSelections(Nyckeltal,true(),true(), 'Lönsamhet')&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 06:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1546681#M744606</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-20T06:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1547069#M744607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Should be;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#004000"&gt;=Avg({&amp;lt;[Bolagsnamn]=,[Info Bransch]=P({$} [Info Bransch])&amp;gt;}[$(=varLönsamhet)])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#004000"&gt;Cheers,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#004000"&gt;Chris.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 18:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1547069#M744607</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-20T18:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1547813#M744608</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Something is not working properly with that expression:&lt;BR /&gt;(ps. changed&amp;nbsp; field name from bolagsnamn to bolag).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2019-02-22_07-00-39.png" style="width: 819px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6565i62D76E218026079F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2019-02-22_07-00-39.png" alt="Snipaste_2019-02-22_07-00-39.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 06:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1547813#M744608</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-22T06:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change chart expression based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1552570#M744609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't understand how that variable works. If you put it in a text box does it show the value you want?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 19:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-chart-expression-based-on-selection/m-p/1552570#M744609</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-03-05T19:47:32Z</dc:date>
    </item>
  </channel>
</rss>

