<?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 How to do that? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-that/m-p/216268#M69619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi,&lt;/P&gt;&lt;P&gt;I would like to help you. Pls let me know the criteria / conditions in detail and what should be your output.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Apr 2010 07:51:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-19T07:51:20Z</dc:date>
    <item>
      <title>How to do that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-that/m-p/216267#M69618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all, I have 2 tables first one with data / hour and code and second one with code hour and days and I want to do the next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date Code&lt;/P&gt;&lt;P&gt;18/03/2010 18:45 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second Table&lt;/P&gt;&lt;P&gt;Monday Tuesday Wednesday Thursday Friday Saturday Sunday Hour Days Code&lt;/P&gt;&lt;P&gt;0 0 1 1 1 0 0 15:00 3 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the next one:&lt;/P&gt;&lt;P&gt;Get day name of the date&lt;/P&gt;&lt;P&gt;See for code&lt;/P&gt;&lt;P&gt;See on table 2 if day=1&lt;/P&gt;&lt;P&gt;if day=1 then check if hour &amp;gt;= Hour Date&lt;/P&gt;&lt;P&gt;If Hour&amp;gt;Hour(Date) - Then get Days&lt;/P&gt;&lt;P&gt;and calculate New date as date + Days (if days are saturday or sunday sum 1 for each one)&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;go to the next day and chek if = 1 if not eq 1 continue with next day (loop) and Then get days&lt;/P&gt;&lt;P&gt;and calculate New date as date + Days (if days are saturday or sunday sum 1 for each one)&lt;/P&gt;&lt;P&gt;if day = 0 goto next day (cyclic) till day = 1&lt;/P&gt;&lt;P&gt;And then calculate new date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 11:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-that/m-p/216267#M69618</guid>
      <dc:creator />
      <dc:date>2010-04-16T11:50:38Z</dc:date>
    </item>
    <item>
      <title>How to do that?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-that/m-p/216268#M69619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi,&lt;/P&gt;&lt;P&gt;I would like to help you. Pls let me know the criteria / conditions in detail and what should be your output.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 07:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-that/m-p/216268#M69619</guid>
      <dc:creator />
      <dc:date>2010-04-19T07:51:20Z</dc:date>
    </item>
  </channel>
</rss>

