<?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 Do While to create a custom week by customer in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Do-While-to-create-a-custom-week-by-customer/m-p/1536215#M62698</link>
    <description>&lt;P&gt;I need to script a do while loop to create a week dimension that is based off when a customer signs a contract rather than the calendar week.&amp;nbsp; So, the Monday of the week they sign is week one then each week after will be week +1, +2 ...&amp;nbsp; I'm not sure how to script this to create the weeks.&lt;/P&gt;&lt;P&gt;Let vStartDate = ClientWeekStart;&lt;/P&gt;&lt;P&gt;Let vEndDate -= LastInvoiceWeekStart;&lt;/P&gt;&lt;P&gt;I would very much appreciate any suggestions.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:44:07 GMT</pubDate>
    <dc:creator>ladybyrd2011</dc:creator>
    <dc:date>2024-11-16T06:44:07Z</dc:date>
    <item>
      <title>Do While to create a custom week by customer</title>
      <link>https://community.qlik.com/t5/App-Development/Do-While-to-create-a-custom-week-by-customer/m-p/1536215#M62698</link>
      <description>&lt;P&gt;I need to script a do while loop to create a week dimension that is based off when a customer signs a contract rather than the calendar week.&amp;nbsp; So, the Monday of the week they sign is week one then each week after will be week +1, +2 ...&amp;nbsp; I'm not sure how to script this to create the weeks.&lt;/P&gt;&lt;P&gt;Let vStartDate = ClientWeekStart;&lt;/P&gt;&lt;P&gt;Let vEndDate -= LastInvoiceWeekStart;&lt;/P&gt;&lt;P&gt;I would very much appreciate any suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Do-While-to-create-a-custom-week-by-customer/m-p/1536215#M62698</guid>
      <dc:creator>ladybyrd2011</dc:creator>
      <dc:date>2024-11-16T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Do While to create a custom week by customer</title>
      <link>https://community.qlik.com/t5/App-Development/Do-While-to-create-a-custom-week-by-customer/m-p/1536310#M62699</link>
      <description>How do you want to store your week data? Do you need to update weekly how long since customers sign the contract or you simply need to update only 2 data points: weekstart and weekend?&lt;BR /&gt;Without any information, I think you can get week number by using week(). Please read more from qlik documentation: &lt;A href="https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/week.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/week.htm&lt;/A&gt;</description>
      <pubDate>Tue, 29 Jan 2019 06:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Do-While-to-create-a-custom-week-by-customer/m-p/1536310#M62699</guid>
      <dc:creator>NhanNguyen</dc:creator>
      <dc:date>2019-01-29T06:34:45Z</dc:date>
    </item>
  </channel>
</rss>

