<?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: Handle multiple Date field and Avoid Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054146#M928367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a canonical date. See &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 07:47:15 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2016-03-23T07:47:15Z</dc:date>
    <item>
      <title>Handle multiple Date field and Avoid Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054145#M928366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have A two table Leads and Session. &lt;/P&gt;&lt;P&gt;In Lead Table Column are like LeadId , LeadName , ChannelID, LeadDate&lt;/P&gt;&lt;P&gt;And Session table SessionID, SessioName , &lt;SPAN style="font-size: 13.3333px;"&gt;ChannelID , SessionDate ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Both the table are Connected with ChannelID..&amp;nbsp; and we have to map this two table with ChannelID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am as well creating a Master calander with Date , SessionDate, LeadDate and rest of date Dimension..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So its creating a Loop Between Then ..as Lead is Connected with Session, Session connected with Master Calander and &lt;/P&gt;&lt;P&gt;Master calander as well connected with Lead table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinldy Help me resolve this&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054145#M928366</guid>
      <dc:creator>brijeshvma</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handle multiple Date field and Avoid Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054146#M928367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a canonical date. See &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054146#M928367</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-03-23T07:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Handle multiple Date field and Avoid Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054147#M928369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HIC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur Reply, I am not able to understand how DateBridge is Created.. Can u suggest me how to create in my Case..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 08:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054147#M928369</guid>
      <dc:creator>brijeshvma</dc:creator>
      <dc:date>2016-03-23T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Handle multiple Date field and Avoid Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054148#M928370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a many-to-many relationship between Leads and Sessions, you may need to join the two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpCombinations:&lt;/P&gt;&lt;P&gt;Load * From Leads ;&lt;/P&gt;&lt;P&gt;Join Load * From Sessions ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combinations:&lt;/P&gt;&lt;P&gt;Load *, Autonumber(LeadId &amp;amp;'|'&amp;amp; SessionID) as CominationID Resident tmpCombinations;&lt;/P&gt;&lt;P&gt;Drop Table tmpCombinations;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateBridge:&lt;/P&gt;&lt;P&gt;Load distinct SessionDate as Date, 'SessionDate' as Type, CominationID Resident Combinations ;&lt;/P&gt;&lt;P&gt;Load distinct LeadDate as Date, 'LeadDate' as Type, CominationID Resident Combinations ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load distinct &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Date(MonthStart(Date),'YYYY-MMM') as YearMonth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Resident DateBridge;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a one-to-many relationship between Leads and Sessions (a lead can have several sessions, but a session has only one lead) then there are simpler solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 09:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-multiple-Date-field-and-Avoid-Loop/m-p/1054148#M928370</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-03-23T09:22:18Z</dc:date>
    </item>
  </channel>
</rss>

