<?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: SQL Scenario on historical data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1626995#M446173</link>
    <description>&lt;P&gt;Sujit, as you referenced in your reply, our forums are for Qlik products, in particular QlikView in this forum, you would be best off going to the Microsoft Communities in your case, or perhaps Stack Overflow or some other programming site, as I am doubtful you are going to get someone to write your SQL query for you here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick Google search on SQL Query help and got quite a few hits, was not sure which one(s) may be of help, so going to let you run that yourself to see if you can find what you need, but I saw CodeAcademy as well as W3Schools hits showing up as well as quite a few others, so I believe you should be able to find what you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 15:02:11 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-09-23T15:02:11Z</dc:date>
    <item>
      <title>SQL Scenario on historical data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621731#M445833</link>
      <description>&lt;P&gt;SQL : I have 2 tables, one with current year data and othe with previous year data. Suppose current table is of 2018 and previous table is of 2017.&lt;/P&gt;&lt;P&gt;Fields are: Student Id, Name, Class, exam Type, subject, marks&lt;BR /&gt;I want to show the details of each student who got average marks less than 40 in previous year. What will be the query.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621731#M445833</guid>
      <dc:creator>sujit_nath</dc:creator>
      <dc:date>2024-11-16T02:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Scenario on historical data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621839#M445836</link>
      <description>&lt;P&gt;Is this the expected result?&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/18773iE7890A464D986FBC/image-size/large?v=1.0&amp;amp;px=-1" border="0" width="687" height="268" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;&lt;P&gt;For current year:&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year={'$(=max(Year))'}&amp;gt;}marks)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last year with marks below 40:&lt;/P&gt;&lt;P&gt;avg({&amp;lt;Year={"$(=max(Year)-1)"},marks={"&amp;lt;40"}&amp;gt;}marks)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 00:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621839#M445836</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-09-10T00:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Scenario on historical data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621866#M445839</link>
      <description>&lt;P&gt;Hi Buddy,&lt;/P&gt;&lt;P&gt;Thanks for your response and effort, however, I was looking for a SQL query to achieve this. I know this community is specific to Qlik, but would be helpful if you can help with the query.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 04:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1621866#M445839</guid>
      <dc:creator>sujit_nath</dc:creator>
      <dc:date>2019-09-10T04:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Scenario on historical data</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1626995#M446173</link>
      <description>&lt;P&gt;Sujit, as you referenced in your reply, our forums are for Qlik products, in particular QlikView in this forum, you would be best off going to the Microsoft Communities in your case, or perhaps Stack Overflow or some other programming site, as I am doubtful you are going to get someone to write your SQL query for you here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick Google search on SQL Query help and got quite a few hits, was not sure which one(s) may be of help, so going to let you run that yourself to see if you can find what you need, but I saw CodeAcademy as well as W3Schools hits showing up as well as quite a few others, so I believe you should be able to find what you need.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Scenario-on-historical-data/m-p/1626995#M446173</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-23T15:02:11Z</dc:date>
    </item>
  </channel>
</rss>

