<?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 Qlikview Exression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Exression/m-p/942991#M955669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am designing a bar chart with three expression. Could someone tell me how would i find the difference between two expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression1:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YTD_Flag_Fiscal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_factTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'msData'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TotalCalcs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=SubField(Concat(distinct TotalCalcs, '#'), '#', 1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression2:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LY_YTD_Flag_Fiscal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_factTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'msData'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TotalCalcs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=SubField(Concat(distinct TotalCalcs, '#'), '#', 1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First expression computes a set of measures like sales, margin etc for 2014 and the second expression computes the same for 2015.&lt;/P&gt;&lt;P&gt;Need to have a third expression showing year on year change = (expression2 - expression1)/ expression 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find the difference between the two expression using a '-' operator. Is there a diff function similer to a sum function. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 16:21:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-19T16:21:30Z</dc:date>
    <item>
      <title>Qlikview Exression</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Exression/m-p/942991#M955669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am designing a bar chart with three expression. Could someone tell me how would i find the difference between two expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression1:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YTD_Flag_Fiscal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_factTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'msData'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TotalCalcs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=SubField(Concat(distinct TotalCalcs, '#'), '#', 1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression2:&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LY_YTD_Flag_Fiscal&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_factTable&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'msData'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TotalCalcs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=SubField(Concat(distinct TotalCalcs, '#'), '#', 1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First expression computes a set of measures like sales, margin etc for 2014 and the second expression computes the same for 2015.&lt;/P&gt;&lt;P&gt;Need to have a third expression showing year on year change = (expression2 - expression1)/ expression 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find the difference between the two expression using a '-' operator. Is there a diff function similer to a sum function. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Exression/m-p/942991#M955669</guid>
      <dc:creator />
      <dc:date>2015-11-19T16:21:30Z</dc:date>
    </item>
  </channel>
</rss>

