<?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: expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202158#M877424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Its not working like that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please suggest other solution. With Day field only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 08:16:36 GMT</pubDate>
    <dc:creator>srujanaponnuru</dc:creator>
    <dc:date>2016-10-18T08:16:36Z</dc:date>
    <item>
      <title>expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202156#M877422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a straight table containing fields like transacation type, today's transaction, yestreday tx count, last 7 days count, last 28 days count&lt;/P&gt;&lt;P&gt;i have given the dimension as transaction type and in expressions other 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Todays tx i have written an expression like :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;Day={"=Num(Max(Day))"}&amp;gt;}SumofTxn)&lt;/P&gt;&lt;P&gt;For yestredays i ahve written an expression like :&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Day={"=Num(Max(Day)-1)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for other two i am not getting how to write expression.&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202156#M877422</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202157#M877423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What kind of field is Day? Is it the day number of the month? Then it won't work if you select the first day of the month. Day 0 won't exist. If you have a date field you should probably use that instead:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;MyDate={"$(=Date(Max(MyDate),'MM/DD/YYYY'))"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;MyDate={"$(=Date(Max(MyDate)-1,'MM/DD/YYYY'))"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;MyDate={"&amp;gt;$(=Date(Max(MyDate)-7,'MM/DD/YYYY'))"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;MyDate={"&amp;gt;$(=Date(Max(MyDate)-28,'MM/DD/YYYY'))"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Adjust the date format string MM/DD/YYYY to the format of your date field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 07:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202157#M877423</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-10-18T07:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202158#M877424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Its not working like that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please suggest other solution. With Day field only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202158#M877424</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2016-10-18T08:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202159#M877425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the values which Day contains, So might we can way to root other &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202159#M877425</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-18T08:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202160#M877426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the source file my field is Evntdt as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="837" style="width: 757px; height: 609px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="23" width="121"&gt;EVNTdt&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="110"&gt;Transaction type&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="76"&gt;SumOfTXN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:60&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:61&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ABC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:62&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;ABC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:63&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:64&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:65&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:66&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:67&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DEF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:68&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;89&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:69&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:70&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:71&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:72&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:73&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:74&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:75&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:76&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" style="border-top: none;" width="121"&gt;&lt;BR /&gt; 2016-09-01 00:77&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XYZ&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this i ahve till 2016-09-30 with different timings next to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while loading i converted&lt;/P&gt;&lt;P&gt;Load Date(date#(EVNTdt,'YYYY-MM-DD hh:mm'), 'YYYY/MM/DD hh:mm') as EVNTdt,&lt;/P&gt;&lt;P&gt;day(date(date#(EVNTdt, 'YYYY-MM-DD h:mm'), 'DD/MM/YYYY')) as Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the table i need to pull &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for Todays tx i have written an expression like :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;Day={"=Num(Max(Day))"}&amp;gt;}SumofTxn)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For yestredays i ahve written an expression like :&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum({&amp;lt;Day={"=Num(Max(Day)-1)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please jhelp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202160#M877426</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2016-10-18T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202161#M877428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your time stamp is not being properly interpreted, in '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2016-09-01 00:&lt;STRONG&gt;77' -&lt;/STRONG&gt; 77 can't be mm (minute). Rather try to trim the date to get only the date part and try like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Date(date#(&lt;STRONG&gt;left(trim(EVNTdt),10&lt;/STRONG&gt;),'YYYY-MM-DD'), 'YYYY/MM/DD') as EVNTdt,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;day(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(date#(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;left(trim(EVNTdt),10&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),'YYYY-MM-DD'), 'YYYY/MM/DD')&lt;/SPAN&gt;) as Day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202161#M877428</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-18T09:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202162#M877430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just gave the example random numbers . the data source file time to is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202162#M877430</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2016-10-18T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202163#M877432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw explaining the expected output there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202163#M877432</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-18T09:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202164#M877433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="458"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="133"&gt;Transaction type&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Today&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Yesterday&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="95"&gt;Last 7 days&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="102"&gt;Last 28 days&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need a straight table with the above fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in todays column i need sum of transactions so thats y i have written the expression for Today column as &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;Day={"=Num(Max(Day))"}&amp;gt;}SumofTxn) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;but for last 7 days i gave expression as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;Day={"=Num(Max(Day)-7)"}&amp;gt;}SumofTxn) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;but i am getting all zeros in the table.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202164#M877433</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2016-10-18T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202165#M877434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'Last 7 days' means - 7th day or all last 7 days - what do you expect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202165#M877434</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-18T09:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202166#M877435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all last 7 days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202166#M877435</guid>
      <dc:creator>srujanaponnuru</dc:creator>
      <dc:date>2016-10-18T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202167#M877436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;Day={"$(=Max(Day))"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Yestesrday : &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;Day={"$(=Max(Day)-1)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Last 7 days : &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;Day={"&amp;gt;$(=Max(Day)-7) &amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Max(Day)&lt;/SPAN&gt;)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Last 28 days : &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;Day={"&amp;gt;$(=Max(Day)-28) &amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Max(Day)&lt;/SPAN&gt;)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If you select any date field and wish to see corresponding result, you might have to pass that field in all the set expressions like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Yestesrday : &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;&lt;STRONG&gt;Date,&lt;/STRONG&gt; Day={"$(=Max(Day)-1)"}&amp;gt;}SumofTxn)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/1202167#M877436</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-18T09:53:43Z</dc:date>
    </item>
  </channel>
</rss>

