<?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: Cross join in designer mode in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805362#M65461</link>
    <description>&lt;P&gt;I don't believe you can use the Data Wizard to use the IntervalFunction but that is exactly what you need to solve this style of a problem. It essentially does your cross join for you. You feed it a Master Calendar that has every month, and then call the IntervalFuncion to match up the Month to the Start/End months for your employees.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That same algorithm works depending if you are trying to find things within months like this, or within hours so you can see who was staffing each hour. 15 minute increments or every minute.&lt;/P&gt;&lt;P&gt;I have attached a zip file that contains a bunch of files and different scenarios you can look to for help as well as see the other scenarios where IntervalMatch can be your friend.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 11:54:40 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2021-05-05T11:54:40Z</dc:date>
    <item>
      <title>Cross join in designer mode</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805124#M65426</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've below data layout, which is required to be printed in a graph as below.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Memberid&lt;/TD&gt;&lt;TD&gt;FirstName&lt;/TD&gt;&lt;TD&gt;Employer&lt;/TD&gt;&lt;TD&gt;StartMonth&lt;/TD&gt;&lt;TD&gt;EndMonth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12789716&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;2020-01&lt;/TD&gt;&lt;TD&gt;2021-03&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7981161654&lt;/TD&gt;&lt;TD&gt;Scott&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;2020-04&lt;/TD&gt;&lt;TD&gt;2020-06&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5654764&lt;/TD&gt;&lt;TD&gt;Jane&lt;/TD&gt;&lt;TD&gt;xxx&lt;/TD&gt;&lt;TD&gt;2021-01&lt;/TD&gt;&lt;TD&gt;2021-03&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SC_Nshirke_0-1620157835727.png" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54244i26ADB335F01AE5B7/image-dimensions/767x278?v=v2" width="767" height="278" role="button" title="SC_Nshirke_0-1620157835727.png" alt="SC_Nshirke_0-1620157835727.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There are two ways I can accomplish this.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a table using cross join to add report month or&lt;/LI&gt;&lt;LI&gt;Using IterNo() on StartMonth and endMonth in the load script for Qlik to produce this information&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In this case there will be a total of&amp;nbsp; 21 rows for 3 users.&lt;/P&gt;&lt;P&gt;However, there is a problem in both approach. In both cases, we're providing data one way or the other to Qlik app during app refresh. If we take a millions of unique records , this approach takes very long time to load Qlik sense app.&lt;/P&gt;&lt;P&gt;I wanted to see if this could be achieved on the fly.&amp;nbsp; So, I was thinking is there a way to replicate this in the Designer mode using Dimension/measure and some special function?&lt;/P&gt;&lt;P&gt;Any help would be super helpful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 20:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805124#M65426</guid>
      <dc:creator>SC_Nshirke</dc:creator>
      <dc:date>2021-05-04T20:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cross join in designer mode</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805362#M65461</link>
      <description>&lt;P&gt;I don't believe you can use the Data Wizard to use the IntervalFunction but that is exactly what you need to solve this style of a problem. It essentially does your cross join for you. You feed it a Master Calendar that has every month, and then call the IntervalFuncion to match up the Month to the Start/End months for your employees.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That same algorithm works depending if you are trying to find things within months like this, or within hours so you can see who was staffing each hour. 15 minute increments or every minute.&lt;/P&gt;&lt;P&gt;I have attached a zip file that contains a bunch of files and different scenarios you can look to for help as well as see the other scenarios where IntervalMatch can be your friend.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 11:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805362#M65461</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-05-05T11:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cross join in designer mode</title>
      <link>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805523#M65493</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49457"&gt;@Dalton_Ruer&lt;/a&gt;&amp;nbsp;for the suggestion! Let me take a look at this approach.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 15:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cross-join-in-designer-mode/m-p/1805523#M65493</guid>
      <dc:creator>SC_Nshirke</dc:creator>
      <dc:date>2021-05-05T15:20:29Z</dc:date>
    </item>
  </channel>
</rss>

