<?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 with parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086649#M361767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is&amp;nbsp; [Creation Date] a date field or text field? Can you share how it looks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the error is the Date() function on the left side of the equation. You cannot use functions there (only field names). So you will have to make it date if it isn't one in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 11:30:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-10T11:30:36Z</dc:date>
    <item>
      <title>set analysis with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086648#M361766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table that in some of the columns I need to do set analysis on it (this is only one example but I have on each column different calculations with conditions on it) :&lt;/P&gt;&lt;P&gt;I need to do sum on&amp;nbsp; [Posting Amount] where this conditions exists :&lt;/P&gt;&lt;P&gt;[Source Table Name]=BCPM&lt;/P&gt;&lt;P&gt;AND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Creation Date] &amp;lt;= Creation Date from Search Criteria&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; "Creation Date from Search Criteria" meaning that that is the value that the user selected in the report from the [Creation Date]&amp;nbsp; values in the List Box . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write a set analysis for it ,&lt;/P&gt;&lt;P&gt;so I made a parameter: $vCurrentDate ,&amp;nbsp; that takes the value that been selected by the user in the List box of CreationDate&lt;/P&gt;&lt;P&gt;then I wrote this in the expression of the chart properties:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Source Table Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=BCPM , (date(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Creation Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MM/DD/YYYY'))&amp;lt;= {$vCurrentDate}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Posting Amount]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;it have a lot of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;please help me to find the right set analysis script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Moni&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 09:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086648#M361766</guid>
      <dc:creator />
      <dc:date>2016-02-10T09:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086649#M361767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is&amp;nbsp; [Creation Date] a date field or text field? Can you share how it looks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the error is the Date() function on the left side of the equation. You cannot use functions there (only field names). So you will have to make it date if it isn't one in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 11:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086649#M361767</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-10T11:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086650#M361768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; [Creation Date] is&amp;nbsp; a field in the straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086650#M361768</guid>
      <dc:creator />
      <dc:date>2016-02-10T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with parameter</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086651#M361769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not created in the script? I am not sure how you plan to use that in set analysis? Do you have an app you can share to show how your data looks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-parameter/m-p/1086651#M361769</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-10T13:27:00Z</dc:date>
    </item>
  </channel>
</rss>

