<?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 Working with multiple date fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412087#M94710</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem I need some assistance with, Thank you&lt;/P&gt;
&lt;P&gt;I have an [EMPLOYEE] table with [EFF_FROM_DATE] and [EFF_TO_DATE], currently to count [EMP_ID] successfully, I leverage a MasterCalendar and IntervalMatch(MASTER.CALENDAR_DT). I now have to add another table EMP_ACTION: to my model on [DATABASE_KEY].&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EMP_ACTION table has [PROMOTION_CODE] and [EFFECTIVE_DATE] after associating the tables on&amp;nbsp;[DATABASE_KEY], my requirement is to count the number of total employees and corresponding number of employees that have gotten promotions in the same visualization. My issue is, employee count uses&amp;nbsp;IntervalMatch(CALENDAR_DT), and PROMO count uses&amp;nbsp;[EFFECTIVE_DATE], individually each calculation returns the correct number of record, however together the number are off. Is there a solution to have one calendar return the correct counts for each aggregation?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 16:05:41 GMT</pubDate>
    <dc:creator>nicouek</dc:creator>
    <dc:date>2024-01-29T16:05:41Z</dc:date>
    <item>
      <title>Working with multiple date fields</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412087#M94710</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem I need some assistance with, Thank you&lt;/P&gt;
&lt;P&gt;I have an [EMPLOYEE] table with [EFF_FROM_DATE] and [EFF_TO_DATE], currently to count [EMP_ID] successfully, I leverage a MasterCalendar and IntervalMatch(MASTER.CALENDAR_DT). I now have to add another table EMP_ACTION: to my model on [DATABASE_KEY].&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EMP_ACTION table has [PROMOTION_CODE] and [EFFECTIVE_DATE] after associating the tables on&amp;nbsp;[DATABASE_KEY], my requirement is to count the number of total employees and corresponding number of employees that have gotten promotions in the same visualization. My issue is, employee count uses&amp;nbsp;IntervalMatch(CALENDAR_DT), and PROMO count uses&amp;nbsp;[EFFECTIVE_DATE], individually each calculation returns the correct number of record, however together the number are off. Is there a solution to have one calendar return the correct counts for each aggregation?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 16:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412087#M94710</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2024-01-29T16:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Working with multiple date fields</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412105#M94712</link>
      <description>&lt;P&gt;Have you seen this blog post by HIC? &lt;A title="Canonical Date  by Henric Cronström" href="https://community.qlik.com/t5/Design/Canonical-Date/ba-p/1463578" target="_self"&gt;Canonical Date&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you treat your&amp;nbsp; &amp;nbsp;"CALENDAR_DT" and the "EFFECTIVE_DATE" as different datetypes in a date bridge you could be able to solve your issue.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 16:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412105#M94712</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-01-29T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Working with multiple date fields</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412136#M94717</link>
      <description>&lt;P&gt;Hi, Vegar&lt;/P&gt;
&lt;P&gt;I have been working on a canonical date through the weekend with&amp;nbsp; "Business intelligence with Qlik Sense" book; I&amp;nbsp; gave a try to the model described in the link you provided... and there is still no success.&lt;/P&gt;
&lt;P&gt;I do really appreciate your input.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_0-1706553155758.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158565i3F7C4E0F64F2E4F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_0-1706553155758.png" alt="nicouek_0-1706553155758.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 18:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-multiple-date-fields/m-p/2412136#M94717</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2024-01-29T18:32:42Z</dc:date>
    </item>
  </channel>
</rss>

