<?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: Calculation in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765911#M534208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it can be achieved in the charts as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt; 30000 AND Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetPreviousMonth)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),count({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} Distinct KundNr)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 13:43:28 GMT</pubDate>
    <dc:creator>chrislofthouse</dc:creator>
    <dc:date>2015-03-09T13:43:28Z</dc:date>
    <item>
      <title>Calculation in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765908#M534205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to cound customernumbers that meet certain criterias.&lt;/P&gt;&lt;P&gt;I will Count all customernumbers where the customer has sum(DebPris)&amp;gt;30000&lt;/P&gt;&lt;P&gt;and where the sum is bigger this month than the previous mont. It´s the part I&lt;/P&gt;&lt;P&gt;have marked with bold text I cannot get running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[KundNr]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"=Sum([DebPris])&amp;gt;=30000"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;}, &lt;BR /&gt; &lt;BR /&gt; &lt;STRONG&gt;{Sum({$&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[KundNr]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"=Sum([DebPris])&amp;gt;=30000"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &amp;gt;&lt;BR /&gt; &lt;BR /&gt; Sum({$&amp;lt;&lt;/SPAN&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vSetPreviousMonth)&lt;/EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[KundNr]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"=Sum([DebPris])&amp;gt;=30000"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;)}&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt; &amp;gt;} Distinct(KundNr)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765908#M534205</guid>
      <dc:creator />
      <dc:date>2015-03-09T12:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765909#M534206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible the simplest and most efficient method would be to create flags for each of these requirements in the script. Then reference them in the Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload a sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765909#M534206</guid>
      <dc:creator>chrislofthouse</dc:creator>
      <dc:date>2015-03-09T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765910#M534207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here comes an&amp;nbsp; test app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765910#M534207</guid>
      <dc:creator />
      <dc:date>2015-03-09T13:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765911#M534208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it can be achieved in the charts as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt; 30000 AND Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetPreviousMonth)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DebPris]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),count({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSetMTD)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Segment]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Glas"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} Distinct KundNr)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 13:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-in-a-chart/m-p/765911#M534208</guid>
      <dc:creator>chrislofthouse</dc:creator>
      <dc:date>2015-03-09T13:43:28Z</dc:date>
    </item>
  </channel>
</rss>

