<?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: YTD vs LYTD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863624#M11951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give me numbers from 1 to 40&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 18:48:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-01T18:48:50Z</dc:date>
    <item>
      <title>YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863601#M11928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using Qlik Sense, need help on a measurement for YTD and LYTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, I had a measurement like the one below, this shows all FY2015 Sales which is from Oct 1st, 2014 to Sept 30th, 2015, since I have data until today, this works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today()))'}&amp;gt;}[NETSALES])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, If I do the LYTD I just add a -1 to Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'}&amp;gt;}[NETSALES])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I want to specify the exact same amount of week as of YTD, how can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},[Fiscal_Week]={Today()}&amp;gt;}[NETSALES]) (I know this expression is wrong, just to give you an idea)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help Appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the Load Script. That I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Period:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week_Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week_Number,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(Date),'MM/DD/YYYY'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q'&amp;amp;Fiscal_Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Week,&lt;/P&gt;&lt;P&gt;FROM [lib://QVDs_Connection/Periods.QVD]&lt;/P&gt;&lt;P&gt;(qvd) Where PeriodId&amp;gt;=20131001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_ID as "Item ID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE_ID as "Store ID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERIODID as PeriodId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; V_ID as "Vendor ID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUANTITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WEIGHT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NETSALES,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCOUNT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REVENUE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCOUNT_EMPLOYEE&lt;/P&gt;&lt;P&gt;FROM [lib://QVDs_Connection/SalesDetails_*.QVD]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863601#M11928</guid>
      <dc:creator />
      <dc:date>2015-07-01T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863602#M11929</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;&lt;SPAN style="line-height: 1.5em;"&gt;Period:&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;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PeriodId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week_Day,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week_Number,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(Date),'MM/DD/YYYY') &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;as Date&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Year,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q'&amp;amp;Fiscal_Quarter,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Month,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fiscal_Week,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://QVDs_Connection/Periods.QVD]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd) Where PeriodId&amp;gt;=20131001;&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;Sales:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_ID as "Item ID",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE_ID as "Store ID",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PERIODID as PeriodId,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; V_ID as "Vendor ID",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUANTITY,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WEIGHT,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NETSALES,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCOUNT,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REVENUE,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISCOUNT_EMPLOYEE&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://QVDs_Connection/SalesDetails_*.QVD]&lt;/P&gt;&lt;P&gt;&lt;/P&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;&lt;STRONG&gt;=Sum({&amp;lt;Date={"$(='&amp;gt;=' &amp;amp; Date(YearStart(AddYears(Max(Date),-1)), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(AddYears(Max(Date),-1), 'MM/DD/YYYY')&lt;/SPAN&gt;)"}&amp;gt;}[NETSALES])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863602#M11929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T16:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863603#M11930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried, but doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking if there is a way that after having the Fiscal Year be 2014, then Fiscal week be &amp;lt;= current fiscal week I am right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is like, SUM Netsales from Fiscal Week less than 40 (current fiscal week) of Fiscal Year 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this example below, if I remove the highlighted part it shows me daily netsales of all fiscal year -1, but it shows me all 12 month, and what we need is to show all day until the current fiscal week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use the filter to do that, but is more like for users can see it without the need of the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;STRONG&gt;[Fiscal_Week]={Today()}&lt;/STRONG&gt;&amp;gt;}[NETSALES])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, I am new to Qlik product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863603#M11930</guid>
      <dc:creator />
      <dc:date>2015-07-01T16:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863604#M11931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you put this: &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='&amp;gt;=' &amp;amp; Date(YearStart(AddYears(Max(Date),-1)), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Date(AddYears(Max(Date),-1), 'MM/DD/YYYY')&lt;/SPAN&gt;&lt;/STRONG&gt; in a text box object -&amp;gt; Do you get the right date range and in same format as your date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I don't understand, does you expression works or not (with Fiscal_Week in it)?&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;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fiscal_Week]={Today()}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}[NETSALES])&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;Best,&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;Sunny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863604#M11931</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T16:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863605#M11932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of both expression works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863605#M11932</guid>
      <dc:creator />
      <dc:date>2015-07-01T16:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863606#M11933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;If I do 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;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Fiscal_Week]={40}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}[NETSALES])&lt;/SPAN&gt;&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;If will show me only the days of Fiscal Week 40 from Fiscal year 2014, but doesn't show me fiscal week 1 to 39. and want this to be kind of automatic, like if I am in Fiscal Week 41, then it should be 41, because once published, I can't modify this every week.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863606#M11933</guid>
      <dc:creator />
      <dc:date>2015-07-01T16:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863607#M11934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fiscal_Week]={'&amp;lt;=40'}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}[NETSALES])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fiscal_Week]={'&amp;lt;=$(=Today())'}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}[NETSALES])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863607#M11934</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T16:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863608#M11935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about 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;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Fiscal_Week]={'&amp;lt;=40'}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}[NETSALES])&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; This Works it shows Fiscal Week 1 to Fiscal Week 40 for FY2014&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Fiscal_Week]={'&amp;lt;=$(=Today())'}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}[NETSALES])&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; This shows Fiscal Week 1 to 52 for FY2014, still doesn't get today Fiscal Week number&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863608#M11935</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863609#M11936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry forgot to add Week function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fiscal_Week]={'&amp;lt;=$(=&lt;SPAN style="color: #ff0000;"&gt;Week(&lt;/SPAN&gt;Today()&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)'}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}[NETSALES])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863609#M11936</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863610#M11937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today Week is Week 27 according to calendar, so it brought up till week 27, but fiscal week 27 is up to April 5th.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863610#M11937</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863611#M11938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'}, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal_Week]={"&amp;lt;=$(=&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Week(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Max({&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Fiscal_Year]={'$(=Year(Today()))'}&lt;/SPAN&gt;&amp;gt;}[Fiscal_Week])&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;)"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757;"&gt;&amp;gt;}[NETSALES])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863611#M11938</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863612#M11939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shows me the 52 Weeks. =(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863612#M11939</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863613#M11940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Bad again, now this doesn't need Week function. See if this work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #575757;"&gt;&lt;STRONG&gt;[Fiscal_Week]={"&amp;lt;=$(=&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Max({&amp;lt;&lt;SPAN style="font-style: inherit;"&gt;[Fiscal_Year]={'$(=Year(Today()))'}&lt;/SPAN&gt;&amp;gt;} [Fiscal_Week])&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;gt;}[NETSALES])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863613#M11940</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863614#M11941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shows Week 52, wait... my bad... forgot to tell you that Fiscal Year 2015 have all 52 weeks in table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863614#M11941</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863615#M11942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha great &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a field which only goes until 40th week in 2015 and is empty after that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863615#M11942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863616#M11943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the Period table have all date with matching fiscal week for all FY2015, there's no other table. =S&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863616#M11943</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863617#M11944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something in the fact table like sales, or some kind of measurement, even if it is outside the period table, but is linked to period table on date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863617#M11944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863618#M11945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PeriodID is linked to all, but I can assume this goes until the day that have data for Sales Table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863618#M11945</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863619#M11946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #575757;"&gt;&lt;STRONG&gt;Sum({&amp;lt;[Fiscal_Year]={'$(=Year(Today())-1)'},&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #575757;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;[Fiscal_Week]={"&amp;lt;=$(=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Max({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;[Fiscal_Year]={'$(=Year(Today()))'}&lt;SPAN style="color: #ff0000;"&gt;, PeriodID = {'*?'}&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;} [Fiscal_Week])&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 13px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;gt;}[NETSALES])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863619#M11946</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T17:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: YTD vs LYTD</title>
      <link>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863620#M11947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can you tell the Expression to read Today's Fiscal week number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/YTD-vs-LYTD/m-p/863620#M11947</guid>
      <dc:creator />
      <dc:date>2015-07-01T17:56:40Z</dc:date>
    </item>
  </channel>
</rss>

