<?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: set analysis syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512390#M602042</link>
    <description>&lt;P&gt;Try This.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=sum({$&amp;lt; [Week Ending]=, DGdate = {"=$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))"} &amp;gt;} [Avg Collected Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohammed Mustaq&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 16:08:51 GMT</pubDate>
    <dc:creator>MohammedMustaq</dc:creator>
    <dc:date>2018-11-26T16:08:51Z</dc:date>
    <item>
      <title>set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512385#M602040</link>
      <description>&lt;P&gt;The variable below works; but I need to return the date and get errors with my set expression:&lt;/P&gt;&lt;P&gt;variable:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; [Week Ending]=, DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))'} &amp;gt;} [Avg Collected Balance])&lt;/P&gt;&lt;P&gt;Need:&lt;/P&gt;&lt;P&gt;date({$&amp;lt; [Week Ending]=, DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))'} &amp;gt;})&lt;/P&gt;&lt;P&gt;the error is "Error in expression: ')' expected&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512385#M602040</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2024-11-16T05:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512388#M602041</link>
      <description>&lt;P&gt;Did you forget to add the date field in the expression?&lt;/P&gt;&lt;PRE&gt;Date(Only({$&amp;lt;[Week Ending], DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"}, [Week Ending]&amp;gt;} DGdate))'}&amp;gt;} &lt;FONT color="#FF0000"&gt;DGdate&lt;/FONT&gt;)&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Nov 2018 18:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512388#M602041</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-26T18:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512390#M602042</link>
      <description>&lt;P&gt;Try This.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=sum({$&amp;lt; [Week Ending]=, DGdate = {"=$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))"} &amp;gt;} [Avg Collected Balance])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohammed Mustaq&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 16:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512390#M602042</guid>
      <dc:creator>MohammedMustaq</dc:creator>
      <dc:date>2018-11-26T16:08:51Z</dc:date>
    </item>
    <item>
      <title>set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512433#M602043</link>
      <description>&lt;P&gt;re-stating the question:&lt;BR /&gt;ePortfBal; the variable below works correctly:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt; [Week Ending]=, DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))'} &amp;gt;} [Avg Collected Balance])&lt;/P&gt;&lt;P&gt;I need to return in a text box the date that the variable selects; so I removed Sum() and used Date(). With the statement below I get syntax issues.&lt;/P&gt;&lt;P&gt;date({$&amp;lt; [Week Ending]=, DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"},[Week Ending]= &amp;gt;}DGdate))'} &amp;gt;})&lt;/P&gt;&lt;P&gt;the error is "Error in expression: ')' expected&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 17:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512433#M602043</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2018-11-26T17:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512434#M602044</link>
      <description>Date for what?</description>
      <pubDate>Mon, 26 Nov 2018 17:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512434#M602044</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-26T17:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512447#M602045</link>
      <description>&lt;P&gt;DGdate&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 18:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512447#M602045</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2018-11-26T18:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512451#M602046</link>
      <description>&lt;P&gt;Do you expect to see a single date? or do you need to use Min or Max to get one date from multiple possible dates? Try one of these&lt;/P&gt;&lt;P&gt;If the expected output can only have a single value&lt;/P&gt;&lt;PRE&gt;Date(&lt;FONT color="#FF0000"&gt;Only&lt;/FONT&gt;({$&amp;lt;[Week Ending], DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"}, [Week Ending]&amp;gt;} DGdate))'}&amp;gt;} &lt;FONT color="#FF0000"&gt;DGdate&lt;/FONT&gt;)&lt;/PRE&gt;&lt;P&gt;or if you need Min or Max date from multiple date values&lt;/P&gt;&lt;PRE&gt;Date(&lt;FONT color="#FF0000"&gt;Max&lt;/FONT&gt;({$&amp;lt;[Week Ending], DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"}, [Week Ending]&amp;gt;} DGdate))'}&amp;gt;} &lt;FONT color="#FF0000"&gt;DGdate&lt;/FONT&gt;)

Date(&lt;FONT color="#FF0000"&gt;Min&lt;/FONT&gt;({$&amp;lt;[Week Ending], DGdate = {'$(=Max({$&amp;lt;LogonID ={"*"}, [Week Ending]&amp;gt;} DGdate))'}&amp;gt;} &lt;FONT color="#FF0000"&gt;DGdate&lt;/FONT&gt;)&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Nov 2018 18:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-syntax/m-p/1512451#M602046</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-26T18:10:58Z</dc:date>
    </item>
  </channel>
</rss>

