<?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: Privious Year YTD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107848#M7367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanq for you reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is some issue in the below part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month={'&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can you please chk?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2018 05:57:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-06T05:57:20Z</dc:date>
    <item>
      <title>Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107843#M7362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling alot to show the Previous year YTD info in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below mentioned is my expression. Its showing the entire previous year data. But logically it has to show till August 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year={$(vPriorYear)}, fiscal_quarter=, Month=, [Date]=, Datekey={"&amp;gt;=$(=Num(YearStart(AddYears(Max(Datekey),-1)))) &amp;lt;=$(=Num(AddYears(Max(Datekey),-1)))"}&amp;gt;}accessories_revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you please help me to fix this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107843#M7362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T05:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107844#M7363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a flag for Previous Year and current year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use that flag in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;if(Month(Date_cloumn)&amp;gt;8,year(Date_column)&amp;amp;' to '&amp;amp;year(Date_column)+1,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;if(Month(Date_cloumn)&amp;lt;8,year(Date_column)-1&amp;amp;' to '&amp;amp;year(Date_column),&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;if(Month(Date_cloumn)=8 and Date(Date_column,'DD')&amp;lt;=25,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;year(Date_column)-1&amp;amp;' to '&amp;amp;year(Date_column),&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;year(Date_column)&amp;amp;' to '&amp;amp;year(Date_column)+1&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;))) as Fiscal_Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107844#M7363</guid>
      <dc:creator>sibin_jacob</dc:creator>
      <dc:date>2018-08-06T05:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107845#M7364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sibin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tan so much for your reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have a previous year and current year flag....&lt;/P&gt;&lt;P&gt;Let vlastyear=YearStart(Today(),-1);&lt;/P&gt;&lt;P&gt;Let vcurrentyear=YearStart(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But nothing is working out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any straight forward formula which gives Prior year YTD output? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107845#M7364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T05:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107846#M7365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Month Column, values should be 1,2,3 etc.&lt;/P&gt;&lt;P&gt;if it already available, you can use the existing column or you can create using&lt;/P&gt;&lt;P&gt;Date(Date_Column,'MM') as Month_Column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create variable vMonth_value&lt;/P&gt;&lt;P&gt;Definition give it as 8&lt;/P&gt;&lt;P&gt;&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;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;Year={$(vPriorYear)}, fiscal_quarter=, Month=, [Date]=,&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;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Month_Column&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;={"&amp;lt;=$(=&lt;SPAN style="font-size: 13.3333px;"&gt;vMonth_value&lt;/SPAN&gt;)"},&lt;/SPAN&gt;&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;STRONG style="font-style: inherit; font-family: inherit;"&gt;Datekey={"&amp;gt;=$(=Num(YearStart(AddYears(Max(Datekey),-1)))) &amp;lt;=$(=Num(AddYears(Max(Datekey),-1)))"}&amp;gt;}accessories_revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107846#M7365</guid>
      <dc:creator>sibin_jacob</dc:creator>
      <dc:date>2018-08-06T05:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107847#M7366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please try with the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={$(vPriorYear)}, fiscal_quarter=, Month=, [Date]=, Month={'&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;}accessories_revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not working, please let me know. In this expression instead of using the variable you can use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year={$(=max(Year)-1)}.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Gopi&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107847#M7366</guid>
      <dc:creator>yenumulagopi</dc:creator>
      <dc:date>2018-08-06T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107848#M7367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanq for you reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is some issue in the below part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month={'&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can you please chk?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107848#M7367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T05:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107849#M7368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have reformed my formula like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={$(=max(Year)-1)},fiscal_quarter=, Month=, [Date]=, Month={'&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;}))&amp;gt;'}&amp;gt;}accessories_revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its giving null output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 06:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107849#M7368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T06:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107850#M7369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sum({&amp;lt;Year={$(vPriorYear)},{&amp;lt;Datekey={"&amp;gt;=$(=YearStart(AddYears(max(Datekey),-1)))&amp;lt;=$(=AddYears(max(Datekey),-1))"},&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month=,Quarter=,WeekDay=,MonthlyWeekNumber=&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG&gt;accessories_revenue&lt;/STRONG&gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 06:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107850#M7369</guid>
      <dc:creator>thannila</dc:creator>
      <dc:date>2018-08-06T06:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107851#M7370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Year={$(=max(Year)-1)},fiscal_quarter=, Month=, [Date]=,&lt;SPAN style="font-size: 13.3333px;"&gt;Month={"&amp;lt;=$(=max(Month))"}&lt;/SPAN&gt;&amp;gt;}accessories_revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 06:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107851#M7370</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-08-06T06:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107852#M7371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the below expression...Its working as per my expectation .... tanq so much for all&amp;nbsp; your suggestions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;segment=,Year={$(vPriorYear)}, fiscal_quarter=, Month=,Date={"$(='&amp;gt;='&amp;amp;Date(YearStart(Max(Date),-1),'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(Date),-1),'MM/DD/YYYY'))"}&amp;gt;}accessories_revenue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 06:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107852#M7371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T06:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Privious Year YTD</title>
      <link>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107853#M7372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Year={$(=max(Year)-1)},fiscal_quarter=, Month=, [Date]=, Month={'&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;}Month))&amp;gt;'}&amp;gt;}accessories_revenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 07:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Privious-Year-YTD/m-p/107853#M7372</guid>
      <dc:creator>yenumulagopi</dc:creator>
      <dc:date>2018-08-06T07:01:10Z</dc:date>
    </item>
  </channel>
</rss>

