<?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: Conditional expression on a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698626#M725362</link>
    <description>&lt;P&gt;I found a way to solve it...&lt;/P&gt;&lt;P&gt;On condition field:&lt;BR /&gt;GetSelectedCount(Sticker) = 1&lt;/P&gt;&lt;P&gt;On expression field:&lt;BR /&gt;=num(avg(TOTAL {&amp;lt;Sticker,SetorEmpresa=p(SetorEmpresa)&amp;gt;}[P/L]),'#.##0,00;-#.##0,00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 00:02:02 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-05-04T00:02:02Z</dc:date>
    <item>
      <title>Conditional expression on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698609#M725359</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I have a chart with&lt;/P&gt;&lt;P&gt;Dimensions = Stickers and,&lt;BR /&gt;Expression =num(avg([P/L]), '#.##0,00;-#.##0,00')&lt;BR /&gt;&lt;BR /&gt;So, the user can select some Stickers, as dimensions, and I would like that, if just one Sticker is selected, the system should show 2 bars, the one related to the expression, and another one with the following formula: "=num(avg({&amp;lt;Sticker,SubsetorEmpresa=p(SubsetorEmpresa)&amp;gt;}[P/L]),'#.##0,00;-#.##0,00')"&lt;/P&gt;&lt;P&gt;I'm trying to use the conditional function with the following formula:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;"= IF(GetSelectedCount(Sticker) &amp;gt; 0, 1, 0)", but it's not working properly..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I do it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bruno Lelli&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698609#M725359</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698619#M725360</link>
      <description>&lt;P&gt;On the second expression, use the condition:&lt;BR /&gt;&lt;SPAN&gt;= IF(GetSelectedCount(Sticker) &amp;gt; 0)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2020 22:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698619#M725360</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-05-03T22:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698623#M725361</link>
      <description>&lt;P&gt;It's not working&lt;/P&gt;&lt;P&gt;What do you mean by the second expression?&lt;/P&gt;&lt;P&gt;Please, check the picture...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 May 2020 23:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698623#M725361</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-03T23:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression on a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698626#M725362</link>
      <description>&lt;P&gt;I found a way to solve it...&lt;/P&gt;&lt;P&gt;On condition field:&lt;BR /&gt;GetSelectedCount(Sticker) = 1&lt;/P&gt;&lt;P&gt;On expression field:&lt;BR /&gt;=num(avg(TOTAL {&amp;lt;Sticker,SetorEmpresa=p(SetorEmpresa)&amp;gt;}[P/L]),'#.##0,00;-#.##0,00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 00:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-on-a-chart/m-p/1698626#M725362</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-04T00:02:02Z</dc:date>
    </item>
  </channel>
</rss>

