<?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 Variable value 0 after applying aggr its getting null in calcualted dim but in expression working . in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48477#M788991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have created 2 different variable,&lt;/P&gt;&lt;P&gt;when apply claim wise aggr function it's getting null in calculated dimension but in expression value give.&lt;/P&gt;&lt;P&gt;for example if i am having claim wise 2 differnet figures of above two variable, but there is in first variable value is zero&lt;/P&gt;&lt;P&gt; and second variable is having some value so after applying aggr function over there claim wise. it's give me null values in calculated dimension but in expression this is working.&lt;/P&gt;&lt;P&gt;1st expression which is having 0 value -&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;[Link Flag]={'PAID'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'},[Link Month],[Link Quarter],[Link Year]&amp;gt;}[Gross Claim Paid Amount]),[Claim Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd &lt;SPAN style="font-size: 13.3333px;"&gt;expression which is having some values -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr(sum({&amp;lt;[No Claim Status]={'Repudiation','Closure','Withdrawn'},[Link Flag]={'NC'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'}&amp;gt;}[No Claim Expense Amount]),[Claim Number]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so when i add both expression (expr 1) + (expr 2) and show in calculated dimension its show null.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Kindly help thanx in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>deepak_gupta</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Variable value 0 after applying aggr its getting null in calcualted dim but in expression working .</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48477#M788991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have created 2 different variable,&lt;/P&gt;&lt;P&gt;when apply claim wise aggr function it's getting null in calculated dimension but in expression value give.&lt;/P&gt;&lt;P&gt;for example if i am having claim wise 2 differnet figures of above two variable, but there is in first variable value is zero&lt;/P&gt;&lt;P&gt; and second variable is having some value so after applying aggr function over there claim wise. it's give me null values in calculated dimension but in expression this is working.&lt;/P&gt;&lt;P&gt;1st expression which is having 0 value -&lt;/P&gt;&lt;P&gt;aggr(sum({&amp;lt;[Link Flag]={'PAID'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'},[Link Month],[Link Quarter],[Link Year]&amp;gt;}[Gross Claim Paid Amount]),[Claim Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd &lt;SPAN style="font-size: 13.3333px;"&gt;expression which is having some values -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;aggr(sum({&amp;lt;[No Claim Status]={'Repudiation','Closure','Withdrawn'},[Link Flag]={'NC'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'}&amp;gt;}[No Claim Expense Amount]),[Claim Number]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so when i add both expression (expr 1) + (expr 2) and show in calculated dimension its show null.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Kindly help thanx in advance.&lt;/SPAN&gt;&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/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48477#M788991</guid>
      <dc:creator>deepak_gupta</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value 0 after applying aggr its getting null in calcualted dim but in expression working .</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48478#M788992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this apparently a coma is missing:&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;aggr(sum({&amp;lt;[Link Flag]={'PAID'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'},[Link Month],[Link Quarter],[Link Year]&amp;gt;},[Gross Claim Paid Amount]),[Claim Number])&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;2nd &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;expression which is having some values -&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;aggr(sum({&amp;lt;[No Claim Status]={'Repudiation','Closure','Withdrawn'},[Link Flag]={'NC'},[Claims Flag]={'TP'},[Link Date]={'&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)'}&amp;gt;},[No Claim Expense Amount]),[Claim Number])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 21:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48478#M788992</guid>
      <dc:creator>olimonbi29</dc:creator>
      <dc:date>2018-02-04T21:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value 0 after applying aggr its getting null in calcualted dim but in expression working .</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48479#M788993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&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;STRONG style="color: #ff6600;"&gt;Sum(&lt;/STRONG&gt; aggr(sum({&amp;lt;[Link Flag]={'PAID'},[Claims Flag]={'TP'},[Link Date]={&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;},[Link Month],[Link Quarter],[Link Year]&amp;gt;}[Gross Claim Paid Amount]),[Claim Number])&lt;STRONG style="color: #ff6600;"&gt;)&lt;/STRONG&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;STRONG style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/STRONG&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;STRONG style=": ; color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= &lt;SPAN style="color: #ff6600;"&gt;Sum( &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(sum({&amp;lt;[No Claim Status]={'Repudiation','Closure','Withdrawn'},[Link Flag]={'NC'},[Claims Flag]={'TP'},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Link Date]={&lt;STRONG style="color: #ff6600;"&gt;"&lt;/STRONG&gt;&amp;lt;=$(vEndDate)&amp;gt;=$(vStartDateFY)&lt;STRONG style="color: #ff6600;"&gt;"&lt;/STRONG&gt;}&amp;gt;}[No Claim Expense Amount]),[Claim Number])&lt;STRONG style="color: #ff6600;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Then use these expression to add. Use like RangeSum()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; 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: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= RangeSum(FirstExprLabel, SecondExprLabel)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 22:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48479#M788993</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-02-04T22:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value 0 after applying aggr its getting null in calcualted dim but in expression working .</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48480#M788994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response Nagaraju,&lt;/P&gt;&lt;P&gt;same problem your approach is working in Expression but not working in Calculated Dimension. &lt;/P&gt;&lt;P&gt;when applying rangemax in dimension it's show Error (error in calculated Dimension).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 05:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48480#M788994</guid>
      <dc:creator>deepak_gupta</dc:creator>
      <dc:date>2018-02-05T05:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value 0 after applying aggr its getting null in calcualted dim but in expression working .</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48481#M788995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌if you want to use in calculated dimensions you have to use aggr() around the expression...&lt;/P&gt;&lt;P&gt;like = aggr(your expression, fieldname)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 17:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-0-after-applying-aggr-its-getting-null-in/m-p/48481#M788995</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-02-05T17:49:57Z</dc:date>
    </item>
  </channel>
</rss>

