<?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 Only showing data based on Start date from a different calendar in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Only-showing-data-based-on-Start-date-from-a-different-calendar/m-p/2522881#M106715</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been assigned a difficult task. We have 2 different calendars. One for Actuals and one for Estimated. Actuals shows the actual number of orders we have done and Estimated provides an estimated start date and estimated volume. We have an ID for each customer that's in my fact table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently use the Estimated start date and Estimated volume to distribute the volume over 12 months after the start date. For example, if our Estimated start date was 1/1/2025 and the Estimated volume was 12, I would get 1 order a month all the way until December 2025.&lt;/P&gt;&lt;P&gt;I currently use the Actuals calendar to get the Actual number of orders each month. Pretty straightforward on that one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We sometimes send orders to customers without having an Estimated start date. But we only want to track the orders 12 months after the Estimated start date. So, using the Estimated calendar I need to somehow select that Estimated start date and go only 12 months out from that Estimated start data for my Actuals table.&lt;/P&gt;&lt;P&gt;See this example below:&lt;/P&gt;&lt;P&gt;Expected(Estimated) runs from a start date of Feb 2024 - Jan 2024 (12 months) for this ID.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_0-1751394566701.png" style="width: 802px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181762i06EEA0778536E41B/image-dimensions/802x53?v=v2" width="802" height="53" role="button" title="Jaden_0-1751394566701.png" alt="Jaden_0-1751394566701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Actuals has data from Jan 2024 - Jun 2025 for this ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_1-1751394698780.png" style="width: 814px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181763iDD1F627CC7BD7E4E/image-dimensions/814x59?v=v2" width="814" height="59" role="button" title="Jaden_1-1751394698780.png" alt="Jaden_1-1751394698780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to only show this for Actuals:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_2-1751394778274.png" style="width: 814px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181764iB4994DBF52557D80/image-dimensions/814x59?v=v2" width="814" height="59" role="button" title="Jaden_2-1751394778274.png" alt="Jaden_2-1751394778274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Basically I just need to line up my Actuals and Estimated values based on the start date from my Estimated calendar. Any advice would be much appreciated. Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jul 2025 18:47:32 GMT</pubDate>
    <dc:creator>Jaden</dc:creator>
    <dc:date>2025-07-01T18:47:32Z</dc:date>
    <item>
      <title>Only showing data based on Start date from a different calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Only-showing-data-based-on-Start-date-from-a-different-calendar/m-p/2522881#M106715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been assigned a difficult task. We have 2 different calendars. One for Actuals and one for Estimated. Actuals shows the actual number of orders we have done and Estimated provides an estimated start date and estimated volume. We have an ID for each customer that's in my fact table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently use the Estimated start date and Estimated volume to distribute the volume over 12 months after the start date. For example, if our Estimated start date was 1/1/2025 and the Estimated volume was 12, I would get 1 order a month all the way until December 2025.&lt;/P&gt;&lt;P&gt;I currently use the Actuals calendar to get the Actual number of orders each month. Pretty straightforward on that one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We sometimes send orders to customers without having an Estimated start date. But we only want to track the orders 12 months after the Estimated start date. So, using the Estimated calendar I need to somehow select that Estimated start date and go only 12 months out from that Estimated start data for my Actuals table.&lt;/P&gt;&lt;P&gt;See this example below:&lt;/P&gt;&lt;P&gt;Expected(Estimated) runs from a start date of Feb 2024 - Jan 2024 (12 months) for this ID.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_0-1751394566701.png" style="width: 802px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181762i06EEA0778536E41B/image-dimensions/802x53?v=v2" width="802" height="53" role="button" title="Jaden_0-1751394566701.png" alt="Jaden_0-1751394566701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Actuals has data from Jan 2024 - Jun 2025 for this ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_1-1751394698780.png" style="width: 814px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181763iDD1F627CC7BD7E4E/image-dimensions/814x59?v=v2" width="814" height="59" role="button" title="Jaden_1-1751394698780.png" alt="Jaden_1-1751394698780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to only show this for Actuals:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaden_2-1751394778274.png" style="width: 814px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181764iB4994DBF52557D80/image-dimensions/814x59?v=v2" width="814" height="59" role="button" title="Jaden_2-1751394778274.png" alt="Jaden_2-1751394778274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Basically I just need to line up my Actuals and Estimated values based on the start date from my Estimated calendar. Any advice would be much appreciated. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 18:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-showing-data-based-on-Start-date-from-a-different-calendar/m-p/2522881#M106715</guid>
      <dc:creator>Jaden</dc:creator>
      <dc:date>2025-07-01T18:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Only showing data based on Start date from a different calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Only-showing-data-based-on-Start-date-from-a-different-calendar/m-p/2526528#M107234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/255531"&gt;@Jaden&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might find the P() function in set analysis useful here. It allows you to select values in one field based on selections in another, so something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Actual Month]=P([Estimated Month]),[Estimated Month]=&amp;gt;}Values)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What you can also do with this approach is to have a data island (that is a table in the data load that is not connected to the rest of the data model) with a calendar and use that for selections and then apply those selections via a&amp;nbsp;&lt;STRONG&gt;P()&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Actual Month]=P([Calendar Month])&amp;gt;}Values)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can create the calendar using an&amp;nbsp;&lt;STRONG&gt;AUTOGENERATE()&amp;nbsp;&lt;/STRONG&gt;statement:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; [Calendar Date],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Date(MonthStart([Calendar Date]), 'MMM-YYYY') as [Calendar Month],&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Year([Calendar Date]) as [Calendar Year]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; ;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;LOAD&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Date(today()-(RecNo()-1), 'DD MMM YYYY') as [Calendar Date]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AUTOGENERATE(3650);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 08:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-showing-data-based-on-Start-date-from-a-different-calendar/m-p/2526528#M107234</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2025-08-07T08:44:03Z</dc:date>
    </item>
  </channel>
</rss>

