<?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: Show intersection of row and column data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118959#M18339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression for FORECAST (since that is the one we need to work on). Also, how do you create Date_ID and Transaction Month in the script? Are they created using Date and Month functions in the script, respectively? Would it be possible to share a sample where we can see all of this and help you with an expression which would work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2018 11:42:48 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-24T11:42:48Z</dc:date>
    <item>
      <title>Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118958#M18338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table below to show in Qlikview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="208600" alt="table1.png" class="jive-image image-1" height="200" src="https://community.qlik.com/legacyfs/online/208600_table1.png" style="height: 200px; width: 765.432px;" width="765" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Transaction Month which displays all the months in a Fiscal Year; a pick dimension which displays TM-0, TM-1, TM-2; a Date_ID; and a measure for Actual and Forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Actual Measure, i have manage to show the actual value based on the most current Date_ID (20180101, I have highlighted the values for the Actual and Zero out the other values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to achieve this for the Forecast measure, e.g. for TM-0, if the Transaction Month is OCT then it will take the intersection of the Transaction Month (OCT) and the Date_ID (20171001) to get the value. and &lt;SPAN style="font-size: 13.3333px;"&gt;if the Transaction Month is NOV then it will take the intersection of the Transaction Month (NOV) and the Date_ID (20171101)&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;for the TM-1, if the &lt;SPAN style="font-size: 13.3333px;"&gt;Transaction Month is NOV then it will take the intersection of the Transaction Month (NOV) and the Date_ID (20171001) to get the value. and &lt;SPAN style="font-size: 13.3333px;"&gt;if the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Transaction Month is DEC then it will take the intersection of the Transaction Month (DEC) and the Date_ID (20171101) to get the value. &lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I also need to add a calculated quarter total, sum of Actual(OCT, NOV, DEC)/ sum of Forecast&lt;SPAN style="font-size: 13.3333px;"&gt;(OCT, NOV, DEC)&lt;/SPAN&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;for the actual measure, i used a set analysis e.g. &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;STRONG&gt;Sum&lt;/STRONG&gt;({1&amp;lt;&lt;STRONG&gt;Transaction Date&lt;/STRONG&gt; = {"$(='&amp;gt;=' &amp;amp; date(monthstart(date#(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Transaction Date&lt;/STRONG&gt;&lt;/SPAN&gt;,'YYYYMM'),-5),'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; date(monthstart(date#(&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Transaction Date&lt;/STRONG&gt;&lt;/SPAN&gt;,'YYYYMM'),6),'YYYYMM'))"},&lt;STRONG&gt;Fiscal Year, Fiscal Month, Fiscal Quarter ,&amp;nbsp; Date_ID&lt;/STRONG&gt;= {'&lt;STRONG&gt;$(vpsi_latest_TID)&lt;/STRONG&gt;'}&amp;gt;}&lt;STRONG&gt;#PSI_AMOUNT&lt;/STRONG&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;STRONG&gt;&lt;EM&gt;vpsi_latest_TID&lt;/EM&gt;&lt;/STRONG&gt; is a variable that displays the latest date_id&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;would appreciate any help. thanks! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 02:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118958#M18338</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-24T02:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118959#M18339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression for FORECAST (since that is the one we need to work on). Also, how do you create Date_ID and Transaction Month in the script? Are they created using Date and Month functions in the script, respectively? Would it be possible to share a sample where we can see all of this and help you with an expression which would work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 11:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118959#M18339</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-24T11:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118960#M18340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the FORECAST expression, i haven't quiet figured out on how i can show it. But i patterned it with the ACTUAL expression, the only difference would be the value for the DATE_ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it needs to correspond with the Transaction Month in the column. e.g. Transaction Month is OCT, DATE_ID is 20171001 for TM-0; &lt;SPAN style="font-size: 13.3333px;"&gt;Transaction Month is OCT, DATE_ID is 20170901 for TM-1; &lt;SPAN style="font-size: 13.3333px;"&gt;Transaction Month is NOV, DATE_ID is 20171001 for TM-1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DATE_ID and Transaction month are a direct load. i'll make a sample data for this. Thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 13:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118960#M18340</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-24T13:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118961#M18341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the sample data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 14:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118961#M18341</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-24T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118962#M18342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I only see Amount (sum(AMOUNT)) field which can be used a measure... Is this forecast or Actual? Where is the other one... Also, are we looking to solve forecast, actual or both? I &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 15:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118962#M18342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-24T15:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118963#M18343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the sample app...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i only need the FORECAST also, i need to add a calculated quarter total per month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 15:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118963#M18343</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-24T15:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118964#M18344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you imagined (without calculated quarter total per month part)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208702_Capture.PNG" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is... what do you mean when you say calculated quarter total per month....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 16:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118964#M18344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-24T16:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118965#M18345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the quarter total, i need it to look like this.. without editing the data load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/306326"&gt;Display Total partial sum per quarter and end of month&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FORECAST expression seems correct but the OCT value should be null since there is no 20181001 in the DATE_ID (FILTERS: FISCAL YEAR = 2018; FISC_MONTH = APR). Also, how can i apply the forecast when it is in N-1, N-2? thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 16:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118965#M18345</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-24T16:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118966#M18346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Quarter total... add fiscal quarter as a dimension....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208705_Capture.PNG" style="height: 197px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure why Oct should not be there? and what do we need for N-1, N-2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 17:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118966#M18346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-24T17:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show intersection of row and column data</title>
      <link>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118967#M18347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why Oct 2018 should not have a value is that the range of DATE_ID is from 20171001 - 201800601. there is no date in the DATE_ID that will correspond to the Transaction date so the values of forecast and actual for July - Oct should be null. For the quarter total, is there a way where we can put the total without displaying the fisc_qtr_no dimension? kinda like the end result of this one below, except the formula would be e.g. Actual (OCT + NOV + DEC) / Forecast (OCT + NOV + DEC) = 3Q:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/306326"&gt;Display Total partial sum per quarter and end of month&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the N-1, N-2, the forecast value needs to correspond with the Transaction Date and (Date ID -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. The Transaction Month is Nov, For N-0 it will correspond with the 20171101 Date_ID; but for N-1 under the same Transaction Month, it will take the value for 20171001 since DATE_ID -1.. same goes for the other months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for N-2, Transaction Month is Dec, &lt;SPAN style="font-size: 13.3333px;"&gt;For N-0 it will correspond with the 20171201 Date_ID; but for N-2 under the same Transaction Month, it will take the value for 20171001 since DATE_ID -2&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;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;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 01:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-intersection-of-row-and-column-data/m-p/118967#M18347</guid>
      <dc:creator>qliknexus_kgcru</dc:creator>
      <dc:date>2018-07-25T01:15:55Z</dc:date>
    </item>
  </channel>
</rss>

