<?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: Do not want aggreate value to compare in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1816#M792345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try an Expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(r&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;evenue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YOURDIMENSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;=0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '&amp;lt;0') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2018 08:07:52 GMT</pubDate>
    <dc:creator>zhadrakas</dc:creator>
    <dc:date>2018-01-17T08:07:52Z</dc:date>
    <item>
      <title>Do not want aggreate value to compare</title>
      <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1814#M792343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have dimension called as strategy and has measure called as sum(sales).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to divide a strategy as long based on some condition like&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;if( sum(revenue) &amp;gt;=0,sum(sales)) as newsales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have different chart with new chart with &lt;/SPAN&gt;dimension&lt;SPAN style="font-size: 10pt;"&gt; as&amp;nbsp;&amp;nbsp; owner and &lt;/SPAN&gt;newsales&lt;SPAN style="font-size: 10pt;"&gt; as measure but i dont have strategy as dimention in this chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now the newsales calculation is coming null as its getting aggregated but i want to only show the owner with strategy as long&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/Do-not-want-aggreate-value-to-compare/m-p/1814#M792343</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Do not want aggreate value to compare</title>
      <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1815#M792344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to group the calculation by strategy? Perhaps this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Sum(Aggr(If(Sum(revenue) &amp;gt;= 0, Sum(sales)), strategy, owner))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[owner] is part of the Aggr() because it is the chart dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1815#M792344</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-17T08:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Do not want aggreate value to compare</title>
      <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1816#M792345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try an Expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(r&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;evenue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YOURDIMENSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;=0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '&amp;lt;0') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1816#M792345</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2018-01-17T08:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Do not want aggreate value to compare</title>
      <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1817#M792346</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;The requirement is like i have strategy dimension. I need to show the count of long strategy into KPI in qliksense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; i need to classify the strategy into long and short based on &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( sum(revenue) &amp;gt;=0 , then 'L' else short )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem with this is sum(revenue) will give you only one value . But i want to compare each value of revenue based on strategy and classify them as short or long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match(&lt;/P&gt;&lt;P&gt;if( aggr(sum([revenue]),strategy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;=0,'L','S'),'L'),count(distinct([strategy])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please reply asap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1817#M792346</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-01-17T09:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Do not want aggreate value to compare</title>
      <link>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1818#M792347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&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;(revenue), strategy)&amp;gt;=0 'L', 'S')='L',count(distinct strategy), '#ELSE#') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Do-not-want-aggreate-value-to-compare/m-p/1818#M792347</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2018-01-17T09:16:07Z</dc:date>
    </item>
  </channel>
</rss>

