<?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: Comparision in Setanalysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086019#M924998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't really understand your setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post some sample records and expected result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need to evaluate the PD_Val comparison for both months on a per-record base with regard to RWA?&lt;/P&gt;&lt;P&gt;Or is your first expression working correct and you want to transform it somehow (why?)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Apr 2016 10:31:50 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-09T10:31:50Z</dc:date>
    <item>
      <title>Comparision in Setanalysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086018#M924997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to compare the below expression below expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;only({&amp;lt;%Month = {'$(=$(=vCurrMonth))'} &amp;gt;} PD_Val) &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;only({&amp;lt;%Month = {'$(=$(=vPrevMonth))'} &amp;gt;} PD_Val),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(RWA))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And I wanted to have expression like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Current PD_value &amp;gt; Prev PD_Value RWA)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086018#M924997</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparision in Setanalysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086019#M924998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't really understand your setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post some sample records and expected result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need to evaluate the PD_Val comparison for both months on a per-record base with regard to RWA?&lt;/P&gt;&lt;P&gt;Or is your first expression working correct and you want to transform it somehow (why?)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 10:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086019#M924998</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-09T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Comparision in Setanalysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086020#M924999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using dimension - PD_Val but all values are not coming. That's why I am changing expression to full set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 10:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086020#M924999</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2016-04-09T10:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparision in Setanalysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086021#M925000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I select a particular PD Value then it is appearing correct one if nothing selected then showing previous pd value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 11:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086021#M925000</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2016-04-09T11:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comparision in Setanalysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086022#M925001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, still not understanding how your data model works. Any chance to upload a small sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If PD_Val is your dimension, I am unsure how you want to make a comparison between PD_Val in your expression.&lt;/P&gt;&lt;P&gt;Maybe using &lt;EM&gt;chart inter record functions&lt;/EM&gt; like above()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is the boolean condition something you want to evaluate in total context? You can do this e,g, by creating a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTest:&lt;/P&gt;&lt;P&gt;=only({&amp;lt;%Month = {'$(=$(=vCurrMonth))'} &amp;gt;} PD_Val) &amp;gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;only({&amp;lt;%Month = {'$(=$(=vPrevMonth))'} &amp;gt;} PD_Val)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should return zero or -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if( vTest&lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum(RWA))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But honestly, I am just guessing aorund..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparision-in-Setanalysis/m-p/1086022#M925001</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-09T11:11:27Z</dc:date>
    </item>
  </channel>
</rss>

