<?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: Dynamically formatting a KPI using a variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631942#M47045</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It won't calculate at all. It just returns a '-'.&lt;/P&gt;&lt;P&gt;Many thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2019 09:09:53 GMT</pubDate>
    <dc:creator>vmcintyre</dc:creator>
    <dc:date>2019-10-07T09:09:53Z</dc:date>
    <item>
      <title>Dynamically formatting a KPI using a variable</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631939#M47043</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of KPIs that need to be displayed in £s and either have 'k' or 'm' after them depending on their value, so I need the formatting to be dynamic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the following:&lt;/P&gt;&lt;P&gt;=if($(vOppValue)&amp;gt;1000000, num($(vOppValue)/1000000, '£#,##0.00m'), num($(vOppValue)/1000,'£#,##0.00k')&lt;/P&gt;&lt;P&gt;I'm unable to share my app, as it has client data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 08:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631939#M47043</guid>
      <dc:creator>vmcintyre</dc:creator>
      <dc:date>2019-10-07T08:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically formatting a KPI using a variable</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631941#M47044</link>
      <description>&lt;P&gt;so what's your result now?&lt;/P&gt;&lt;P&gt;has your variable a = (equal) so the value is calculated?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 09:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631941#M47044</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-10-07T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically formatting a KPI using a variable</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631942#M47045</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It won't calculate at all. It just returns a '-'.&lt;/P&gt;&lt;P&gt;Many thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 09:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631942#M47045</guid>
      <dc:creator>vmcintyre</dc:creator>
      <dc:date>2019-10-07T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically formatting a KPI using a variable</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631949#M47047</link>
      <description>&lt;P&gt;Apologies, yes, the variable calculates fine. It's a long calculation, that's why I opted to make it a variable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 09:21:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631949#M47047</guid>
      <dc:creator>vmcintyre</dc:creator>
      <dc:date>2019-10-07T09:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically formatting a KPI using a variable</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631961#M47049</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(num($(vOppValue))&amp;gt;1000000,num($(vOppValue)/1000000,'£#,##0.00m'),num($(vOppValue)/1000,'£#,##0.00k'))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 09:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamically-formatting-a-KPI-using-a-variable/m-p/1631961#M47049</guid>
      <dc:creator>vmcintyre</dc:creator>
      <dc:date>2019-10-07T09:50:53Z</dc:date>
    </item>
  </channel>
</rss>

