<?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: Table indicator based on Current year vs Last year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932766#M76841</link>
    <description>&lt;P&gt;This is not possible using "Indicators" as they compare against only one value and limits are not evaluated for each row&lt;/P&gt;
&lt;P&gt;You can add a Text&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;▲&amp;nbsp;▼ to your measure though as below&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Dual(num(ExpressionCurrYear,'#,##0')&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if( 1- (ExpressionCurrYear/ExpressionLastYear)&amp;gt;0.29,'▲'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,if(1- (ExpressionCurrYear/ExpressionLastYear)&amp;lt;0.20,'▼','►')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,&amp;nbsp;ExpressionCurrYear)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 03:49:43 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-05-19T03:49:43Z</dc:date>
    <item>
      <title>Table indicator based on Current year vs Last year</title>
      <link>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932236#M76815</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a requirement that I am trying to solve.&lt;/P&gt;
&lt;P&gt;Users want an indicator that says if Difference between Current year and Last year is more than 29% then Thumbs UP, if the difference is 20% or below than thumbs DOWN.&lt;/P&gt;
&lt;P&gt;A mocked table can look like this:&lt;/P&gt;
&lt;TABLE border="1" width="73.46847351327136%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="12.5%" height="25px"&gt;Current year&lt;/TD&gt;
&lt;TD width="12.5%" height="25px"&gt;Last year&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="26px"&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="26px"&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;10 000&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="26px"&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;7 800&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="26px"&gt;Jan&lt;/TD&gt;
&lt;TD height="26px"&gt;1000 &lt;FONT face="arial black,avant garde" color="#339966"&gt;^&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="26px"&gt;500&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="26px"&gt;Feb&lt;/TD&gt;
&lt;TD height="26px"&gt;1400 &lt;FONT face="arial black,avant garde" color="#FF0000"&gt;v&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="26px"&gt;1300&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="29px"&gt;Mar&lt;/TD&gt;
&lt;TD height="29px"&gt;1000 &lt;FONT face="arial black,avant garde" color="#808080"&gt;&lt;FONT size="5"&gt;-&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="29px"&gt;750&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="25px"&gt;Apr&lt;/TD&gt;
&lt;TD height="25px"&gt;1000&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#339966"&gt;^&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD height="25px"&gt;500&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to use the table indicator but do now know if this can be evaluated like this per row?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jonathan_Alm_0-1652859516355.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79692i5ABF7B16A956E8DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jonathan_Alm_0-1652859516355.png" alt="Jonathan_Alm_0-1652859516355.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Kind regards, Jonathan&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 07:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932236#M76815</guid>
      <dc:creator>Jonathan_Alm</dc:creator>
      <dc:date>2022-05-18T07:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table indicator based on Current year vs Last year</title>
      <link>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932342#M76818</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be somethink like this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(MesureCurrentYear / MesureLastYear &amp;gt; 0.29 , num(MesureCurrentYear, '#,##&amp;nbsp;▲ ' ) ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(MesureCurrentYear / MesureLastYear &amp;lt; 0.20,&amp;nbsp;num(MesureCurrentYear, '#,## ▼ ' ),&amp;nbsp;&lt;/P&gt;
&lt;P&gt;num(MesureCurrentYear, '#,## - ' )&lt;/P&gt;
&lt;P&gt;))&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 10:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932342#M76818</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-05-18T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table indicator based on Current year vs Last year</title>
      <link>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932766#M76841</link>
      <description>&lt;P&gt;This is not possible using "Indicators" as they compare against only one value and limits are not evaluated for each row&lt;/P&gt;
&lt;P&gt;You can add a Text&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;▲&amp;nbsp;▼ to your measure though as below&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Dual(num(ExpressionCurrYear,'#,##0')&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if( 1- (ExpressionCurrYear/ExpressionLastYear)&amp;gt;0.29,'▲'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,if(1- (ExpressionCurrYear/ExpressionLastYear)&amp;lt;0.20,'▼','►')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,&amp;nbsp;ExpressionCurrYear)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 03:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-indicator-based-on-Current-year-vs-Last-year/m-p/1932766#M76841</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-19T03:49:43Z</dc:date>
    </item>
  </channel>
</rss>

