<?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: Converting SQL to Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731472#M55819</link>
    <description>&lt;P&gt;SomeName:&lt;/P&gt;&lt;P&gt;load *;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp;&lt;SPAN&gt;SELECT payer.PayerID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM t_VisitInsurance&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JOIN t_Payer payer on t_VisitInsurance&amp;nbsp;.PayerID = payer.PayerID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE t_VisitInsurance&amp;nbsp;.VisitKey = v.VisitKey&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND t_VisitInsurance&amp;nbsp;.PrimaryPayer='1') as 'Primary Payer ID';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keep in mind, that within a Qlik table (SomeName), each field has to be a unique name and field names are case sensitive.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 17:30:21 GMT</pubDate>
    <dc:creator>jwjackso</dc:creator>
    <dc:date>2020-07-28T17:30:21Z</dc:date>
    <item>
      <title>Converting SQL to Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731469#M55818</link>
      <description>&lt;P&gt;I am trying to recreate a SQL script into Qlik Sense within the Data load editor. I have an extraction layer that is pulling all of the tables that I need from the database, but I am uncertain how this (example below) would be written into the Data load editor within Qlik Sense. Below is the current portion of the SQL script that I am stuck on.&lt;/P&gt;&lt;P&gt;SELECT payer.PayerID&lt;BR /&gt;FROM t_VisitInsurance&amp;nbsp;&lt;BR /&gt;JOIN t_Payer payer on t_VisitInsurance&amp;nbsp;.PayerID = payer.PayerID&lt;BR /&gt;WHERE t_VisitInsurance&amp;nbsp;.VisitKey = v.VisitKey&lt;BR /&gt;AND t_VisitInsurance&amp;nbsp;.PrimaryPayer='1') as 'Primary Payer ID'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731469#M55818</guid>
      <dc:creator>brandon_d</dc:creator>
      <dc:date>2024-11-16T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL to Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731472#M55819</link>
      <description>&lt;P&gt;SomeName:&lt;/P&gt;&lt;P&gt;load *;&lt;/P&gt;&lt;P&gt;SQL&amp;nbsp;&lt;SPAN&gt;SELECT payer.PayerID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM t_VisitInsurance&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JOIN t_Payer payer on t_VisitInsurance&amp;nbsp;.PayerID = payer.PayerID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WHERE t_VisitInsurance&amp;nbsp;.VisitKey = v.VisitKey&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AND t_VisitInsurance&amp;nbsp;.PrimaryPayer='1') as 'Primary Payer ID';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keep in mind, that within a Qlik table (SomeName), each field has to be a unique name and field names are case sensitive.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 17:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731472#M55819</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-07-28T17:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL to Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731476#M55820</link>
      <description>&lt;P&gt;Thank you for your response. However, I do not want it to be in SQL, so how would this be done in standard Qlik language?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 17:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731476#M55820</guid>
      <dc:creator>brandon_d</dc:creator>
      <dc:date>2020-07-28T17:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL to Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731481#M55821</link>
      <description>&lt;P&gt;If you had 2 tables&lt;/P&gt;&lt;P&gt;t_VisitInsurance :&lt;/P&gt;&lt;P&gt;load PayerID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PrimaryPayer;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Payer:&lt;/P&gt;&lt;P&gt;load PayerID;&lt;/P&gt;&lt;P&gt;In QLIK the tables would be joined on PayerID, so it depends on what type of calculation you are doing.&amp;nbsp; For a simple PayerID KPI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;PrimaryPayer={1}&amp;gt;}PayerID)&lt;/P&gt;&lt;P&gt;The Set Analysis {&amp;lt;PrimaryPayer={1}&amp;gt;} limits the data to PayerIDs with PrimaryPayer = 1&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 18:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731481#M55821</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-07-28T18:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL to Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731496#M55822</link>
      <description>The issue though is that there is a third table that only appears within&lt;BR /&gt;the Where clause.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-SQL-to-Qlik-Sense/m-p/1731496#M55822</guid>
      <dc:creator>brandon_d</dc:creator>
      <dc:date>2020-07-28T19:03:36Z</dc:date>
    </item>
  </channel>
</rss>

