<?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: need help in converting SQL to QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843388#M296313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use network days for this but this would do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WeekDay(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; D.Calendar) = 1 or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;WeekDay(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; D.Calendar) = 7, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 14:34:23 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-04-28T14:34:23Z</dc:date>
    <item>
      <title>need help in converting SQL to QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843386#M296311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi how can i write the below expression in QlikView by loading the data from the excel file or QVD instead of pulling data from SQL server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE WHEN DATEPART(dw, D.Calendar) IN (1,7) THEN 0 ELSE 1 END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 14:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843386#M296311</guid>
      <dc:creator />
      <dc:date>2015-04-28T14:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: need help in converting SQL to QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843387#M296312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinna, you can use WeekDay() to check the day, it may vary, 0 can be Monday or Sunday depending on regional settings, it should be something like:&lt;/P&gt;&lt;P&gt;If(match(&lt;SPAN class="Bold"&gt;weekday(&lt;/SPAN&gt;Date&lt;SPAN class="Bold"&gt;), 0, 6), 0, 1) as FieldName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;From [xls]...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR class="Bold" /&gt;&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 14:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843387#M296312</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-04-28T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: need help in converting SQL to QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843388#M296313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use network days for this but this would do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WeekDay(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; D.Calendar) = 1 or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;WeekDay(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; D.Calendar) = 7, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-in-converting-SQL-to-QlikView/m-p/843388#M296313</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-28T14:34:23Z</dc:date>
    </item>
  </channel>
</rss>

