<?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: How the write the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1627428#M456362</link>
    <description>&lt;P&gt;Naveen, did either of the posts help you with your issue?&amp;nbsp; If so, please be sure to circle back and give them credit by using the Accept as Solution button on any posts that were helpful in getting the solution you needed.&amp;nbsp; If you still need further help with things, leave an update of where things stand for us.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 12:44:38 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-09-24T12:44:38Z</dc:date>
    <item>
      <title>How the write the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622527#M456359</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I had atttached the image ,Please find the attachment&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="blob:https://community.qlik.com/0b64f1dd-586b-4269-a2ac-77fd252afd53" border="0" width="864" height="343" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" width="400" height="159" /&gt;&lt;/P&gt;&lt;P&gt;I need to Color the cell with max percentage of &amp;nbsp;each model,&lt;/P&gt;&lt;P&gt;For example from multiple model values i had selected CRETA, For Creta i need to color cell with 31% percentage&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression for %:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={2018}&amp;gt;}[Volume])/sum({&amp;lt;Year={2018}&amp;gt;}total&amp;lt;[Model]&amp;gt;[Volume])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 09:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622527#M456359</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2019-09-11T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: How the write the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622548#M456360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try with something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(Rank(total sum({&amp;lt;Year={2018}&amp;gt;}[Volume])/sum({&amp;lt;Year={2018}&amp;gt;}total&amp;lt;[Model]&amp;gt;[Volume]))&amp;lt;=Count(total distinct Model &amp;amp; Year),COLOR)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 10:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622548#M456360</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-11T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How the write the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622592#M456361</link>
      <description>&lt;P&gt;You can try a color expression like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Max(TOTAL &amp;lt;Model&amp;gt; Aggr(Sum({&amp;lt;Year = {2018}&amp;gt;} [Volume]), Price, Model, Liters, Fuel, Transmission)) = Sum({&amp;lt;Year = {2018}&amp;gt;} [Volume]), LightRed())&lt;/LI-CODE&gt;&lt;P&gt;Here if you create this expression.... you should see the Max value of the Model repeating for each of the row...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max(TOTAL &amp;lt;Model&amp;gt; Aggr(Sum({&amp;lt;Year = {2018}&amp;gt;} [Volume]), Price, Model, Liters, Fuel, Transmission))&lt;/LI-CODE&gt;&lt;P&gt;I did not use the denominator in the expression because it is redundant and will have the same value for all the Model.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 11:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1622592#M456361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-11T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How the write the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1627428#M456362</link>
      <description>&lt;P&gt;Naveen, did either of the posts help you with your issue?&amp;nbsp; If so, please be sure to circle back and give them credit by using the Accept as Solution button on any posts that were helpful in getting the solution you needed.&amp;nbsp; If you still need further help with things, leave an update of where things stand for us.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 12:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-the-write-the-expression/m-p/1627428#M456362</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-24T12:44:38Z</dc:date>
    </item>
  </channel>
</rss>

