<?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 Show value in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383867#M143290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the following formula but it isn't working as i hoped it would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&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;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;0.3,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Black&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want all values &amp;lt;0.3 to be in red but nothing is happening when i use the formula above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knows haw to solve my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 12:17:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-04T12:17:32Z</dc:date>
    <item>
      <title>Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383867#M143290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the following formula but it isn't working as i hoped it would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&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;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;0.3,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Black&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want all values &amp;lt;0.3 to be in red but nothing is happening when i use the formula above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knows haw to solve my problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383867#M143290</guid>
      <dc:creator />
      <dc:date>2012-09-04T12:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383868#M143291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #800000;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #800000;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;i think u have mistaken it will return always one i think it should be &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #800000;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;)/total &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; font-family: Arial; color: #800000;"&gt;_&lt;EM&gt;namefield&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 8pt; color: #636363; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383868#M143291</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-04T12:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383869#M143292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe i should have been more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first 'namefield' isn't the same as the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume the first one is 10 and the second one is 100&lt;/P&gt;&lt;P&gt;Take the formula above into account and the result should be 0,10 and should turn red of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That last part isn't happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need more info?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383869#M143292</guid>
      <dc:creator />
      <dc:date>2012-09-04T12:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383870#M143293</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 expression you wrote will always return "1", because it is always dividing the value of each cell into itself. You might mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1346761800483959" jivemacro_uid="_1346761800483959"&gt;&lt;P&gt;=if(sum(_namefield) / sum(TOTAL _namefield) &amp;lt; 0.3, Red(), Black())&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will divide the value in each cell by the value of the entire column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383870#M143293</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-04T12:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383871#M143294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u post demo values &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383871#M143294</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-04T12:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383872#M143295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;svangrimbergen,&lt;/P&gt;&lt;P&gt;Your sums are the &lt;STRONG&gt;same&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;I understand that you expects something different but don't understand what.&lt;/P&gt;&lt;P&gt;Could you discribe, where you use this expression and what result you want to achieve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383872#M143295</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-04T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383873#M143296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Sum(_&lt;CODE class="jive-code"&gt;namefield)/Above(Sum(_Namefield)&lt;/CODE&gt;&lt;CODE class="jive-code"&gt; &amp;lt; 0.3, Red(), Black())&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 12:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383873#M143296</guid>
      <dc:creator>sreenivas</dc:creator>
      <dc:date>2012-09-04T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383874#M143297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Sum(_namefield)/Above(Sum(_Namefield)&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&amp;lt; 0.3, Red(), Black())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 14:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383874#M143297</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-04T14:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show value in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383875#M143298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel. It works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 15:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-in-an-expression/m-p/383875#M143298</guid>
      <dc:creator />
      <dc:date>2012-09-04T15:04:40Z</dc:date>
    </item>
  </channel>
</rss>

