<?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 Compare data with one table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-data-with-one-table/m-p/1094495#M939543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm quite new on Qulik View and a little bit confused on how proceed for the following case:&lt;/P&gt;&lt;P&gt;I have the following field in a TABLE:&lt;/P&gt;&lt;P&gt;MTM_DATE, &lt;/P&gt;&lt;P&gt;MTM_CM_NAME, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MTM_PERIOD, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MTM_MTM, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Portfolio, &lt;/P&gt;&lt;P&gt;Company, &lt;/P&gt;&lt;P&gt;Counterparty, &lt;/P&gt;&lt;P&gt;Vessel, &lt;/P&gt;&lt;P&gt;Exposure Type], &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Contract_status,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Nature,&lt;/P&gt;&lt;P&gt;[vessel type],&lt;/P&gt;&lt;P&gt;left(MTM_PERIOD,4) as "Year",&lt;/P&gt;&lt;P&gt;mid(MTM_PERIOD,5,2) as&amp;nbsp; "Month",&lt;/P&gt;&lt;P&gt;if (mid(MTM_PERIOD,5,2) &amp;lt;=3, 'Q1', if(mid(MTM_PERIOD,5,2) &amp;lt;=6, 'Q2', if (mid(MTM_PERIOD,5,2) &amp;lt;=9, 'Q3', 'Q4'))) as "Quarter"&lt;/P&gt;&lt;P&gt;In need to compare the SUM of the filed MTM_MTM in the following way:&lt;/P&gt;&lt;P&gt;I can make a first set filtering by all this fields that will be unique for both MTM_MTM SUM:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Portfolio, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Company, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Counterparty, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Vessel, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Exposure Type], &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Contract_status,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Nature,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[vessel type],&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I need to make comparation between two different selections between the fields:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Year&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MTM_DATE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Month or Quarter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm confused on how to use(create) variable for this 4 fields and what about the syntax of the expression for the second sum to compare and related to variables selection&amp;nbsp; should be because it must be conditioned from YEAR, MTM_DATE and Month or Quarter.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;May someone help me for this?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 17:00:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-28T17:00:37Z</dc:date>
    <item>
      <title>Compare data with one table</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-data-with-one-table/m-p/1094495#M939543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm quite new on Qulik View and a little bit confused on how proceed for the following case:&lt;/P&gt;&lt;P&gt;I have the following field in a TABLE:&lt;/P&gt;&lt;P&gt;MTM_DATE, &lt;/P&gt;&lt;P&gt;MTM_CM_NAME, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MTM_PERIOD, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MTM_MTM, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Portfolio, &lt;/P&gt;&lt;P&gt;Company, &lt;/P&gt;&lt;P&gt;Counterparty, &lt;/P&gt;&lt;P&gt;Vessel, &lt;/P&gt;&lt;P&gt;Exposure Type], &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Contract_status,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Nature,&lt;/P&gt;&lt;P&gt;[vessel type],&lt;/P&gt;&lt;P&gt;left(MTM_PERIOD,4) as "Year",&lt;/P&gt;&lt;P&gt;mid(MTM_PERIOD,5,2) as&amp;nbsp; "Month",&lt;/P&gt;&lt;P&gt;if (mid(MTM_PERIOD,5,2) &amp;lt;=3, 'Q1', if(mid(MTM_PERIOD,5,2) &amp;lt;=6, 'Q2', if (mid(MTM_PERIOD,5,2) &amp;lt;=9, 'Q3', 'Q4'))) as "Quarter"&lt;/P&gt;&lt;P&gt;In need to compare the SUM of the filed MTM_MTM in the following way:&lt;/P&gt;&lt;P&gt;I can make a first set filtering by all this fields that will be unique for both MTM_MTM SUM:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Portfolio, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Company, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Counterparty, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Vessel, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Exposure Type], &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Contract_status,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Nature,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[vessel type],&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I need to make comparation between two different selections between the fields:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Year&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MTM_DATE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Month or Quarter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm confused on how to use(create) variable for this 4 fields and what about the syntax of the expression for the second sum to compare and related to variables selection&amp;nbsp; should be because it must be conditioned from YEAR, MTM_DATE and Month or Quarter.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;May someone help me for this?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 17:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-data-with-one-table/m-p/1094495#M939543</guid>
      <dc:creator />
      <dc:date>2016-01-28T17:00:37Z</dc:date>
    </item>
  </channel>
</rss>

