<?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/1184817#M882146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created like this but i want in this as expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in my one repression I want sum(sale) in 2nd expression sum(actual sale &amp;lt; 180 days ) and 3rd expression sum(actual Sale &amp;gt; 180 days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 08:38:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-28T08:38:53Z</dc:date>
    <item>
      <title>Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184805#M882134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to add some bucketing in my expression ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Date] ={"&amp;lt;=$(=MonthEnd(Max([Date])))"}&amp;gt;}[Sale])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want to add below condition in above expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((num((num(vDateForAgeing)-[Post Date ]),'#######0') )&amp;lt;=180 ,'Below Six Month', &lt;/P&gt;&lt;P&gt;if(num((num(vDateForAgeing)-[Post Date ]),'#######0')&amp;gt;=180.1,'Above 181',&lt;/P&gt;&lt;P&gt;0)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/1184805#M882134</guid>
      <dc:creator>Anonymous</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/1184806#M882135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you explain vDateForAgeing ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184806#M882135</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2016-09-28T05:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184807#M882136</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;vDateForAgeing &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(ISNULL(GetFieldSelections(MonthName))=0 OR ISNULL(GetFieldSelections(FinancialYear))=0,DATE(MonthEnd(MAX(Date))),DATE(Today()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184807#M882136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T05:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184808#M882137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly you want to achieve by adding this condition in your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184808#M882137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T05:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184809#M882138</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;Try this&lt;/P&gt;&lt;P&gt;=if((num((num(vDateForAgeing)-[Post Date ]),'#######0') )&amp;lt;=180&amp;nbsp; AND num((num(vDateForAgeing)-[Post Date ]),'#######0')&amp;gt;=180.1, &lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Date] ={"&amp;lt;=$(=MonthEnd(Max([Date])))"}&amp;gt;}[Sale]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184809#M882138</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-09-28T05:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184810#M882139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If vDateForAgeing and Post Date are numeric QV date values, then this is enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(vDateForAgeing - [Post Date ] &amp;lt;= 180, 'Below Six Month',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(vDateForAgeing - [Post Date ] &amp;gt;=180.1, 'Above 181', 0)) As Buckets,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are more buckets, you might want to consider interval matching rather than a nested if. Does [Post Date ] really have a trailing space in the field name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184810#M882139</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-09-28T05:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184811#M882140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create two separate column for this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184811#M882140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T06:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184812#M882141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(num(num(&lt;STRONG&gt;vDateForAgeing&lt;/STRONG&gt;)-[Post Date]),'#######0') &amp;lt;= Num(180),&lt;STRONG&gt;'Below Six Month', &lt;/STRONG&gt;num((num(vDateForAgeing)-[Post Date ]),'#######0')&amp;gt;=180.1,&lt;STRONG&gt;'Above 180.1'&lt;/STRONG&gt;, SUM({$&amp;lt;FinancialYear=,Quarter=,MonthName=,[Date] ={"&amp;lt;=$(=MonthEnd(Max([Date])))"}&amp;gt;}[Sale]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you use this, What you are getting in your application, Would you provide sample application which demonstrates the o/p. If this gives number let me know. Better approach is want to see.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;LET &lt;STRONG&gt;vDateForAgeing &lt;/STRONG&gt;&lt;/SPAN&gt;= IF(ISNULL(GetFieldSelections(MonthName))=0 OR ISNULL(GetFieldSelections(FinancialYear))=0,DATE(MonthEnd(MAX(Date))),DATE(Today()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184812#M882141</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-28T06:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184813#M882142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to add your aging expression as a calculated dimension to create two columns under dimension tab.&lt;/P&gt;&lt;P&gt;Hope this is what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184813#M882142</guid>
      <dc:creator>miskin_m</dc:creator>
      <dc:date>2016-09-28T06:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184814#M882143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your expression, have you tried to floor the expression. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((num((num(&lt;STRONG&gt;floor&lt;/STRONG&gt;(vDateForAgeing))-[Post Date ]),'#######0') )&amp;lt;=180 ,'Below Six Month', &lt;/P&gt;&lt;P&gt;if(num((num(&lt;STRONG&gt;floor(&lt;/STRONG&gt;vDateForAgeing)-[Post Date ])),'#######0')&amp;gt;=180.1,'Above 181',&lt;/P&gt;&lt;P&gt;0)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184814#M882143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T06:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184815#M882144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Bucket ageing sale for above 6 six month and Below Six month....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 08:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184815#M882144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T08:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184816#M882145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8276"&gt;Bucket Creation In List Box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 08:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184816#M882145</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-28T08:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184817#M882146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created like this but i want in this as expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in my one repression I want sum(sale) in 2nd expression sum(actual sale &amp;lt; 180 days ) and 3rd expression sum(actual Sale &amp;gt; 180 days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 08:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help/m-p/1184817#M882146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T08:38:53Z</dc:date>
    </item>
  </channel>
</rss>

