<?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 Query with Date and Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-with-Date-and-Straight-Table/m-p/1730370#M722025</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a straight table like below . There is also a filter in the page for F-Date.&lt;BR /&gt;The expression I am using is below. Just a dummy one to show all the fields as dimensions only.&lt;BR /&gt;But for Status=OSC,I don't want to apply the date filter (the two last rows) as some of the values of F_Date will be null for OSC however for the other two status(TRC &amp;amp; ACT) I still need to apply the date filter.&lt;/P&gt;&lt;P&gt;Is it possible to achieve such a condition? Can you please help?&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Category]-={'Labour'}&lt;BR /&gt;[F_DATE] = {"&amp;lt;=$(=max(FISCAL_DATE))"}&lt;BR /&gt;&amp;gt;}1)&lt;/P&gt;&lt;P&gt;Project_id&amp;nbsp; &amp;nbsp;Status&amp;nbsp; &amp;nbsp;Amount&amp;nbsp; &amp;nbsp;Category&amp;nbsp; &amp;nbsp; &amp;nbsp; F_Date&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02-Mar-20&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02-Mar-20&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ACT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Non Labour 01-Apr-20&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OSC&amp;nbsp; &amp;nbsp; &amp;nbsp; 300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23-Feb-19&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OSC&amp;nbsp; &amp;nbsp; &amp;nbsp; 300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Non Labour&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Many Thanks in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:16:06 GMT</pubDate>
    <dc:creator>Ankhi</dc:creator>
    <dc:date>2024-11-16T00:16:06Z</dc:date>
    <item>
      <title>Query with Date and Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Query-with-Date-and-Straight-Table/m-p/1730370#M722025</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a straight table like below . There is also a filter in the page for F-Date.&lt;BR /&gt;The expression I am using is below. Just a dummy one to show all the fields as dimensions only.&lt;BR /&gt;But for Status=OSC,I don't want to apply the date filter (the two last rows) as some of the values of F_Date will be null for OSC however for the other two status(TRC &amp;amp; ACT) I still need to apply the date filter.&lt;/P&gt;&lt;P&gt;Is it possible to achieve such a condition? Can you please help?&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Category]-={'Labour'}&lt;BR /&gt;[F_DATE] = {"&amp;lt;=$(=max(FISCAL_DATE))"}&lt;BR /&gt;&amp;gt;}1)&lt;/P&gt;&lt;P&gt;Project_id&amp;nbsp; &amp;nbsp;Status&amp;nbsp; &amp;nbsp;Amount&amp;nbsp; &amp;nbsp;Category&amp;nbsp; &amp;nbsp; &amp;nbsp; F_Date&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02-Mar-20&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TRC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02-Mar-20&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ACT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Non Labour 01-Apr-20&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OSC&amp;nbsp; &amp;nbsp; &amp;nbsp; 300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Labour&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23-Feb-19&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OSC&amp;nbsp; &amp;nbsp; &amp;nbsp; 300&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Non Labour&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Many Thanks in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-with-Date-and-Straight-Table/m-p/1730370#M722025</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2024-11-16T00:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query with Date and Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Query-with-Date-and-Straight-Table/m-p/1734976#M722026</link>
      <description>&lt;P&gt;Best I have is the following:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That should allow you to check things to be sure you have the correct syntax on things etc.&amp;nbsp; &amp;nbsp;The first design blog post has some other related posts linked at the bottom just FYI.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 19:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-with-Date-and-Straight-Table/m-p/1734976#M722026</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-11T19:20:37Z</dc:date>
    </item>
  </channel>
</rss>

