<?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: Straight Table Calculation... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807364#M285063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample of the data being loaded in an xls, the names of fields in you screen shot appear to be different from those in the expression formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 10:56:36 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2015-03-16T10:56:36Z</dc:date>
    <item>
      <title>Straight Table Calculation...</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807360#M285059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys..&lt;/P&gt;&lt;P&gt;i have a table like below..&lt;/P&gt;&lt;P&gt;in straight table i want to calculate the balanceamount, my dimension is DocCode,&lt;/P&gt;&lt;P&gt;and expression is sum({&amp;lt;DISTDATE = {"&amp;lt;= $(=Max(Date(DISTDATE,'DD/MM/YYYY')))"}&amp;gt;} BalanceAmount)&lt;/P&gt;&lt;P&gt;its giving me 0,&lt;/P&gt;&lt;P&gt;let say if i select date 20/04/2014, the balance amount must be 500,&lt;/P&gt;&lt;P&gt;and if i chose date 22/04/2014 the balanceamount must be 300, (which is 500-200)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date format is DD/MM/YYYY..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO USE &amp;lt;= OPERATOR IN SET ANALYSIS....VERY SIMPLE BUT NOT WORKING ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE SUGGEST....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;DocCode&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DisDate&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20/04/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22/04/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25/04/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30/04/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807360#M285059</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-03-16T10:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculation...</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807361#M285060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try by creating a variable and then doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked for me when I did this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxDate = Date(Max(DisDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;STRONG&gt;Sum({&amp;lt;DisDate = {'&amp;lt;=$(vMaxDate)'}&amp;gt;} Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807361#M285060</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-16T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculation...</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807362#M285061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(&lt;/SPAN&gt;Max(DISTDATE),'DD/MM/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;instead of &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Max(Date(DISTDATE,'DD/MM/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807362#M285061</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-16T10:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculation...</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807363#M285062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vimlesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807363#M285062</guid>
      <dc:creator />
      <dc:date>2015-03-16T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Calculation...</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807364#M285063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample of the data being loaded in an xls, the names of fields in you screen shot appear to be different from those in the expression formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 10:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Calculation/m-p/807364#M285063</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-16T10:56:36Z</dc:date>
    </item>
  </channel>
</rss>

