<?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: Compare values between QVDs in Pivot table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154559#M1315264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using &lt;STRONG&gt;qualify&lt;/STRONG&gt; and &lt;STRONG&gt;unqualify&lt;/STRONG&gt;, because I am working with so much data. I have more than 20 QVD files. I don´t use concatenate because I would get a QVD so big and so a slow Dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 19:35:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-16T19:35:40Z</dc:date>
    <item>
      <title>Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154557#M1315259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hello people,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I would like some help from you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I have more than 2 qvd files (&lt;STRONG&gt;qvd1&lt;/STRONG&gt; and &lt;STRONG&gt;qvd2&lt;/STRONG&gt;) as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="A.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124703_A.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I want to create a &lt;STRONG&gt;pivot&lt;/STRONG&gt; &lt;STRONG&gt;table&lt;/STRONG&gt; like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="B.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/124706_B.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But I want to use this formulas:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;AMOUNT:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-sheets-userformat="{&amp;quot;2&amp;quot;:12801,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;12&amp;quot;:0,&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:8}" data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.amount), 0)&amp;quot;}" style="font-size: 80%; font-family: Calibri;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.amount), 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN data-sheets-userformat="{&amp;quot;2&amp;quot;:12801,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;12&amp;quot;:0,&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:8}" data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.amount), 0)&amp;quot;}" style="font-size: 80%; font-family: Calibri;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;BUDGET:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.budget), 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;%:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;(column(3)-column(1))/column(1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;The problems is: WHEN I APPLY THOSE FORMULAS (AMOUNT and BUDGET) the pivot table does not show any data, like it would have not data, but there is data.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;To get &lt;STRONG&gt;qv1&lt;/STRONG&gt;.*, &lt;STRONG&gt;qvd2&lt;/STRONG&gt;.*, ... I am using &lt;STRONG&gt;qualify&lt;/STRONG&gt; and all my big project was developed usign &lt;STRONG style="font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;qualify&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Any recomendation please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;When I get a table with qvd1.detail and qvd2.detail it making a cross join:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;IMG alt="C.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/124712_C.jpg" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154557#M1315259</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154558#M1315262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Qualify statement to bring them as two separate tables? If not, then you wouldn't need to use any if statement and it should join in the backend to show proper results on the front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 19:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154558#M1315262</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-16T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154559#M1315264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using &lt;STRONG&gt;qualify&lt;/STRONG&gt; and &lt;STRONG&gt;unqualify&lt;/STRONG&gt;, because I am working with so much data. I have more than 20 QVD files. I don´t use concatenate because I would get a QVD so big and so a slow Dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 19:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154559#M1315264</guid>
      <dc:creator />
      <dc:date>2016-05-16T19:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154560#M1315266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the if statement is the worst possible option in case of large data set. This blog here explains two ways to handle data set where 2 or more fields are common between tables: &lt;A href="https://community.qlik.com/qlik-blogpost/3119"&gt;Concatenate vs Link Table&lt;/A&gt;. Personally, I think that Concatenation will give the best performance on the front end because the data is all in one table vs. Link Table which will load faster because it doesn't have to do the extra processing of putting everything together in one table on the back end (but will have to do some lifting on the front end to compensate for it)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154560#M1315266</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-16T20:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154561#M1315268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;totally agree with Sunny, if i where you i'd join both tables by DETAIL, YEAR and MONTH.&lt;/P&gt;&lt;P&gt;This way:&lt;/P&gt;&lt;P&gt;-you wont need any strange formulas containing if clauses&lt;/P&gt;&lt;P&gt;-your data will be well linked&lt;/P&gt;&lt;P&gt;-your UI will run faster&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154561#M1315268</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-05-16T20:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154562#M1315270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenating these into a single table in the dashboard model should be much faster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 21:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154562#M1315270</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-05-16T21:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154563#M1315272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you describe a bit more detailed what you want to achieve with something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;AMOUNT:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN data-sheets-userformat="{&amp;quot;2&amp;quot;:12801,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;12&amp;quot;:0,&amp;quot;15&amp;quot;:&amp;quot;Calibri&amp;quot;,&amp;quot;16&amp;quot;:8}" data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.amount), 0)&amp;quot;}" style="font-weight: inherit; font-style: inherit; font-size: 10.4px; font-family: Calibri;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;if(qvd1.detail = qvd2.detail and qvd1.year = qvd2.year and qvd1.month = qvd2.month, sum(qvd1.amount), 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It seems you want to compare detail, year and month in both tables (on a per record base? Only checking if the values of one table exist also in the other?).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But then you want to return only aggregated amount of qvd1?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you only want to check if the combination of dimensional values of the first QVD exist also in the other QVD, you may want to create a table with the combined values of the one QVD, then use &lt;EM&gt;EXISTS(KeyMadeOfQVD1Values, KeyMadeofQVD2Values)&lt;/EM&gt; function in the load script to flag your amount values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 21:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154563#M1315272</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-16T21:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compare values between QVDs in Pivot table.</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154564#M1315274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I know it's a better way to use CONCATENATE but I am having problems reading concatenated files.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;1. I have a &lt;STRONG&gt;load.qvw&lt;/STRONG&gt; to create qvd files that finally will be read by a &lt;STRONG&gt;dashboard.qvw&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. In the load.qvw I use CONCATENATE with to files: &lt;STRONG&gt;real.qvd&lt;/STRONG&gt; and &lt;STRONG&gt;presupuesto&lt;/STRONG&gt;.&lt;STRONG&gt;qvd&lt;/STRONG&gt;. Those files have the almost the same number of columns and most of them have the same number. So I generate a &lt;STRONG&gt;final.qvd&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;3. Using &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;dashboard.qvw&lt;/STRONG&gt;&lt;/SPAN&gt;, I load &lt;STRONG&gt;final.qvd&lt;/STRONG&gt; and other qvd files, but when I create a table, data from &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;presupuesto&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;qvd&lt;/STRONG&gt;&lt;/SPAN&gt; are not loaded correctly. I don't use "where" statement.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="125451" alt="bad.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125451_bad.jpg" style="height: 163px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, year and month are not there, but I don't know why.&lt;/P&gt;&lt;P&gt;4. Here something weird. If I create a &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;dashboard2.qvw&lt;/STRONG&gt;&lt;/SPAN&gt; and I load the final.qvd, I have all data. I dont use &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;dashboard2.qvw&lt;/STRONG&gt;&lt;/SPAN&gt; because &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;dashboard.qvw&lt;/STRONG&gt;&lt;/SPAN&gt; is a almost finished project.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="125452" alt="good.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125452_good.jpg" style="height: 164px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;It´s important to mention that all rows have year and month and I use them to filter data into a Pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 18:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-values-between-QVDs-in-Pivot-table/m-p/1154564#M1315274</guid>
      <dc:creator />
      <dc:date>2016-05-23T18:27:33Z</dc:date>
    </item>
  </channel>
</rss>

