<?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: &amp;quot;Translating&amp;quot; from (SQL statement in) Crystal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463714#M1154591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! So that would generate groups where every line has the same PACKAGE_CODE and load the largest numeric value of PACKED_QTY, right?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 06:53:44 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-04-18T06:53:44Z</dc:date>
    <item>
      <title>"Translating" from (SQL statement in) Crystal</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463712#M1154589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to redo a report existing in Crystal in QlikView and I'm having difficulties interpreting a formula. I have looked into the QlikView help and looked it up online, but I cannot quite make sense of it - the way I understand the QV help on that function makes the syntax look wrong.&lt;/P&gt;&lt;P&gt;Maybe anyone can advise me here.&lt;/P&gt;&lt;P&gt;The original statement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; line-height: 115%; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Maximum&lt;BR /&gt;({V_SO_PACKAGE_ITEMS.PACKED_QTY}, {V_SHIPPED_PACKAGES.PACKAGE_CODE})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot make sense of it because, the way I understand the QV help, the MAX function would take two parameters, a value_to_return and a number (like 1, 2, 3) - the first parameter here is a value all right, but the PACKAGE_CODE is a ten-digit ID number, not usable as a rank.&lt;/P&gt;&lt;P&gt;In principle, the field that's calculated here is available in original in the database, but for some reason we cannot get it out, so I want to try with the way Crystal did this.&lt;/P&gt;&lt;P&gt;Can anybody tell me a) what this function does and b) how I can do the same in QlikView? &lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 13:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463712#M1154589</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-17T13:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: "Translating" from (SQL statement in) Crystal</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463713#M1154590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's probably the equivalent of using this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; V_SHIPPED_PACKAGES.PACKAGE_CODE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(V_SO_PACKAGE_ITEMS.PACKED_QTY)&lt;/P&gt;&lt;P&gt;FROM &lt;EM&gt;...somesource...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;GROUP BY V_SHIPPED_PACKAGES.PACKAGE_CODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a chart you'd use V_SHIPPED_PACKAGES.PACKAGE_CODE as dimension and simply max(V_SHIPPED_PACKAGES.PACKAGE_CODE) as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 17:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463713#M1154590</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-17T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: "Translating" from (SQL statement in) Crystal</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463714#M1154591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! So that would generate groups where every line has the same PACKAGE_CODE and load the largest numeric value of PACKED_QTY, right?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 06:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Translating-quot-from-SQL-statement-in-Crystal/m-p/463714#M1154591</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-18T06:53:44Z</dc:date>
    </item>
  </channel>
</rss>

