<?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: Weekly Data Comparison - Week Sequence Number in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Weekly-Data-Comparison-Week-Sequence-Number/m-p/1597499#M44181</link>
    <description>Have you tried creating using the week function on the T_Date ?</description>
    <pubDate>Mon, 01 Jul 2019 04:56:11 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2019-07-01T04:56:11Z</dc:date>
    <item>
      <title>Weekly Data Comparison - Week Sequence Number</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Data-Comparison-Week-Sequence-Number/m-p/1597340#M44176</link>
      <description>&lt;P&gt;I have one date from each week and data for each date. Date can vary and can not be calculated by adding or subtracting fix number.&lt;/P&gt;&lt;P&gt;I need to show current week vs previous week data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created filter for date column. Need help calculating data for previous week by what ever available date.&lt;/P&gt;&lt;P&gt;I am trying to achieve it by giving sequence number to dates. But not able to find right set analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is sample code :&lt;/P&gt;&lt;P&gt;AutoNumber(T_Date) As T_DateSeq,&lt;BR /&gt;If(AutoNumber(T_Date)=1, AutoNumber(T_Date), AutoNumber(T_Date)-1) As T_PreDateSeq,&lt;/P&gt;&lt;P&gt;Filter Dimension : T_Date&lt;/P&gt;&lt;P&gt;Current Balance :&amp;nbsp; Sum ({T_DateSeq}Current_Balance) )&lt;/P&gt;&lt;P&gt;Previous Balance :&amp;nbsp;Sum ({T_PreDateSeq}Current_Balance) )&lt;/P&gt;&lt;P&gt;I have attached data sample and dashboard visual for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion would be really appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 20:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Data-Comparison-Week-Sequence-Number/m-p/1597340#M44176</guid>
      <dc:creator>shah_sapana</dc:creator>
      <dc:date>2019-06-28T20:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Data Comparison - Week Sequence Number</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Data-Comparison-Week-Sequence-Number/m-p/1597499#M44181</link>
      <description>Have you tried creating using the week function on the T_Date ?</description>
      <pubDate>Mon, 01 Jul 2019 04:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Data-Comparison-Week-Sequence-Number/m-p/1597499#M44181</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-07-01T04:56:11Z</dc:date>
    </item>
  </channel>
</rss>

