<?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 Translate the SQL statement in to Qlikview expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678173#M246036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Currently im trying to code a expression but I only know how to query it in SQl statement&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;SQL:&lt;/P&gt;&lt;PRE class="prettyprint lang-sql prettyprinted" style="margin: 0 0 10px; padding: 5px; font-size: 13.63636302947998px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;&lt;CODE style="font-size: 13.63636302947998px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;*&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; Orders o &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; o&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;product_name &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;!=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; MBProductName &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;AND&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; o&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;transaction_id &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;in&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; m&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;transaction_id &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; marketBasket m &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; m&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;product_name &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; MBProductName&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I want to put the results into a chart of table form.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;TableForm : &lt;IMG alt="enter image description here" class="jiveImage" src="http://i.stack.imgur.com/tEPwm.jpg" style="font-size: 13.63636302947998px; background: transparent;" /&gt;And it will do this query when I select the MBProductName.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;can anyone help me translate? Thanks in advance&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Extra information : The following picture is my Schema for my database &lt;IMG alt="enter image description here" class="jiveImage" src="http://i.stack.imgur.com/fhVpL.jpg" style="font-size: 13.63636302947998px; background: transparent;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2014 06:14:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-14T06:14:12Z</dc:date>
    <item>
      <title>Translate the SQL statement in to Qlikview expression</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678173#M246036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Currently im trying to code a expression but I only know how to query it in SQl statement&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;SQL:&lt;/P&gt;&lt;PRE class="prettyprint lang-sql prettyprinted" style="margin: 0 0 10px; padding: 5px; font-size: 13.63636302947998px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;&lt;CODE style="font-size: 13.63636302947998px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;*&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; Orders o &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; o&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;product_name &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;!=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; MBProductName &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;AND&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; o&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;transaction_id &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;in&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; m&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;transaction_id &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; marketBasket m &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13.63636302947998px; color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; m&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt;product_name &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13.63636302947998px; background: transparent;"&gt; MBProductName&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13.63636302947998px; background: transparent;"&gt;);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I want to put the results into a chart of table form.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;TableForm : &lt;IMG alt="enter image description here" class="jiveImage" src="http://i.stack.imgur.com/tEPwm.jpg" style="font-size: 13.63636302947998px; background: transparent;" /&gt;And it will do this query when I select the MBProductName.&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;can anyone help me translate? Thanks in advance&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 13.63636302947998px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Extra information : The following picture is my Schema for my database &lt;IMG alt="enter image description here" class="jiveImage" src="http://i.stack.imgur.com/fhVpL.jpg" style="font-size: 13.63636302947998px; background: transparent;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678173#M246036</guid>
      <dc:creator />
      <dc:date>2014-08-14T06:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Translate the SQL statement in to Qlikview expression</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678174#M246037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use nested if to handle this kind of conditional expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678174#M246037</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-14T06:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Translate the SQL statement in to Qlikview expression</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678175#M246038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can you teach me how to query it? As im new to qlikview.. thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 07:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678175#M246038</guid>
      <dc:creator />
      <dc:date>2014-08-14T07:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Translate the SQL statement in to Qlikview expression</title>
      <link>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678176#M246039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on what these fields represent and the relation you expect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that MBProduct is the same as Product in facts table, you would want an "AND Mode" scenario.&amp;nbsp; To do so, you would need to remove the MBProductGroup as And Mode only takes one table.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 21:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Translate-the-SQL-statement-in-to-Qlikview-expression/m-p/678176#M246039</guid>
      <dc:creator />
      <dc:date>2015-01-05T21:12:34Z</dc:date>
    </item>
  </channel>
</rss>

