<?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: YoY in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137823#M762187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about the printing mistake. I'm using&amp;nbsp; Month={&amp;lt;'$(vCurrMonthYear)'&amp;gt;} expression.&lt;/P&gt;&lt;P&gt;In my application Month is dimension with the format MonthYear ie 201807.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic problem is expression is working in text box or straight table, but not in pivot. Also not sure which function shall I use. Please help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 02:57:14 GMT</pubDate>
    <dc:creator>amruta_j</dc:creator>
    <dc:date>2018-07-31T02:57:14Z</dc:date>
    <item>
      <title>YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137821#M762185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, need your help again.&lt;/P&gt;&lt;P&gt;I'm trying to incorporate YoY formula in pivot table. Formula is working in straight table. Formula is simple one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Flash_Channel={'Online Channel Share'},Month={'$(vCurrMonthYear)'}&amp;gt;}Actual_Flash_Val)&lt;/P&gt;&lt;P&gt;-avg({&amp;lt;Flash_Channel={'Online Channel Share'},Month={'$(vPrevMonthYear)'}&amp;gt;}Actual_Flash_Val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vCurrMonthYear = 201807&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPrevMonthYear = 201707&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 cannot attach my application, but in my pivot table I'm using dimensionality. Below is the formula I'm using in Pivot table:&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;//YOY//&lt;/P&gt;&lt;P&gt;if(SecondaryDimensionality()=0 and Dimensionality()=4,if(WildMatch(Flash_Channel,'*Share'),&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;Flash_Channel={'Online Channel Share'},Month={'$(=only(vCurrMonthYear))'}&amp;gt;}Actual_Flash_Val)&lt;/P&gt;&lt;P&gt;-sum({&amp;lt;Flash_Channel={'Online Channel Share'},Month={'$(=only(vPrevMonthYear))'}&amp;gt;}Actual_Flash_Val),'##.## pp'),''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to debug the formula with no success. &lt;/P&gt;&lt;P&gt;Please let me know if I'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&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/YoY-in-Pivot-Table/m-p/137821#M762185</guid>
      <dc:creator>amruta_j</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137822#M762186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what exact expression you have, but why is your set analysis on Month different here&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/209252_Capture.PNG" style="height: 276px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it seems that Date is one of the dimension in your pivot table... is date and year field linked with each other? If they are, then you might need to do this using &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt; or &lt;A href="https://community.qlik.com/docs/DOC-14624"&gt;Inter-Record Functions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 11:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137822#M762186</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-30T11:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137823#M762187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about the printing mistake. I'm using&amp;nbsp; Month={&amp;lt;'$(vCurrMonthYear)'&amp;gt;} expression.&lt;/P&gt;&lt;P&gt;In my application Month is dimension with the format MonthYear ie 201807.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic problem is expression is working in text box or straight table, but not in pivot. Also not sure which function shall I use. Please help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 02:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137823#M762187</guid>
      <dc:creator>amruta_j</dc:creator>
      <dc:date>2018-07-31T02:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137824#M762189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet again, this doesn't seem right to me &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Month={&amp;lt;'$(vCurrMonthYear)'&amp;gt;}&lt;/STRONG&gt;... are you sure you are using this and if you are... then are you sure that this is even working Amruta?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 11:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137824#M762189</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-31T11:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137825#M762190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg({&amp;lt;Flash_Channel={'Online Channel Share'},&lt;STRONG&gt;Year={$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year&lt;/SPAN&gt;))}&lt;/STRONG&gt;&amp;gt;}Actual_Flash_Val)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-avg({&amp;lt;Flash_Channel={'Online Channel Share'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Year={$(=Max(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)-1)}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Actual_Flash_Val)&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;or why not create a Flag in backend for both Current Year and Previous Year?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//In your master calendar use below... ?&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(InYearToDate(YourMasterDate, today(),0), 1, 0) &lt;STRONG&gt;as CurYearFlag&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(InYear(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;YourMasterDate&lt;/SPAN&gt;, today(),-1), 1, 0) &lt;STRONG&gt;as LastYearFlag&lt;/STRONG&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;Can you attach sample XL data and you expected output numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 11:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137825#M762190</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-07-31T11:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: YoY in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137826#M762191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This problem has resolved. I've filtered out dimension values to show current year data as a calculated dimension.&lt;/P&gt;&lt;P&gt;When I removed this calculated dimension,Formula worked well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(avg({&amp;lt;Flash_Channel={'Online Channel Share'},Month1={"$(vCurrMonth)"},Year={"$(vMaxYear)"}&amp;gt;}Actual_Flash_Val)&lt;/P&gt;&lt;P&gt;-avg({&amp;lt;Flash_Channel={'Online Channel Share'},Month1={"$(vCurrMonth)"},Year={"$(vPrevYear)"}&amp;gt;}Actual_Flash_Val))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 02:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YoY-in-Pivot-Table/m-p/137826#M762191</guid>
      <dc:creator>amruta_j</dc:creator>
      <dc:date>2018-08-02T02:24:41Z</dc:date>
    </item>
  </channel>
</rss>

