<?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: Convert SQL to Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515164#M748655</link>
    <description>&lt;P&gt;If you are loading data from an sql database then you must use the sql dialect that your database server understands. You can't use Qlik script language because your database won't understand it.&lt;/P&gt;&lt;P&gt;If you're loading data from a file or another table that's already loaded then you use the LOAD statement. In that case the where clause you posted should work. If that gives a wrong result then we'll need more information. Can you post a small qlikview document that demonstrates the problem?&lt;/P&gt;</description>
    <pubDate>Sat, 01 Dec 2018 08:51:00 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2018-12-01T08:51:00Z</dc:date>
    <item>
      <title>Convert SQL to Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515141#M748654</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;could you help on below..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL to Qlikview:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select *&amp;nbsp; from Category where&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CreateDate =Case IF(DayName(ModifiedDate)='Monday' then ModifiedDate&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried like..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where CreateDate = IF(WeekDay(ModifiedDate)='Mon', ModifiedDate),&amp;nbsp;&lt;/STRONG&gt;giving wrong result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance....!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515141#M748654</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SQL to Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515164#M748655</link>
      <description>&lt;P&gt;If you are loading data from an sql database then you must use the sql dialect that your database server understands. You can't use Qlik script language because your database won't understand it.&lt;/P&gt;&lt;P&gt;If you're loading data from a file or another table that's already loaded then you use the LOAD statement. In that case the where clause you posted should work. If that gives a wrong result then we'll need more information. Can you post a small qlikview document that demonstrates the problem?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Dec 2018 08:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515164#M748655</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-12-01T08:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SQL to Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515166#M748656</link>
      <description>&lt;P&gt;I can use same query in Qlikview, but I'm not using SQL query, some one has provided that query. I need to convert into Qlikview.&lt;/P&gt;&lt;P&gt;is this correct Where condition, anything wrong??&lt;/P&gt;&lt;P&gt;Load * from category&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Where CreateDate = IF(WeekDay(ModifiedDate)='Mon', ModifiedDate-3, ModifiedDate-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 04:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515166#M748656</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2018-12-02T04:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SQL to Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515174#M748657</link>
      <description>&lt;PRE&gt;Select * from category  Where CreateDate = IF(WeekDay(ModifiedDate)='Mon', ModifiedDate-3, ModifiedDate-1)&lt;/PRE&gt;&lt;P&gt;You are using SELECT. That means you &lt;STRONG&gt;MUST&lt;/STRONG&gt; use the SQL dialect that your database server understands. Your database server &lt;STRONG&gt;DOES NOT&lt;/STRONG&gt; understand Qlik script language like the WeekDay function. Therefore &lt;STRONG&gt;DO NOT USE&lt;/STRONG&gt; Qlik functions in sql statements.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Dec 2018 11:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SQL-to-Qlikview/m-p/1515174#M748657</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-12-01T11:25:30Z</dc:date>
    </item>
  </channel>
</rss>

