<?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 Pivot Table with conditional formatting for different KPIs that is unaffected by selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-conditional-formatting-for-different-KPIs-that/m-p/1530444#M746381</link>
    <description>&lt;P&gt;Hell Everyone,&lt;/P&gt;&lt;P&gt;I am trying to create a table containing different formats (Whole numbers and percentages). This table also should not be affected by selections in a specific dimension (Sampletable attached).&lt;/P&gt;&lt;P&gt;I currently have a solution where my expression consists of an If statement like this:&lt;/P&gt;&lt;P&gt;IF(KPI = KPI1 OR KPI = KPI3 OR KPI = KPI4, num(expression,'#.'), num(expression, '#.##%'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does work as long as I do not select a KPI (needed in another part of the App). However, once I do select a KPI the formatting condition is ignored and all KPIs formatted according to the selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to prevent that from happening?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>lukasrubner</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Pivot Table with conditional formatting for different KPIs that is unaffected by selections</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-conditional-formatting-for-different-KPIs-that/m-p/1530444#M746381</link>
      <description>&lt;P&gt;Hell Everyone,&lt;/P&gt;&lt;P&gt;I am trying to create a table containing different formats (Whole numbers and percentages). This table also should not be affected by selections in a specific dimension (Sampletable attached).&lt;/P&gt;&lt;P&gt;I currently have a solution where my expression consists of an If statement like this:&lt;/P&gt;&lt;P&gt;IF(KPI = KPI1 OR KPI = KPI3 OR KPI = KPI4, num(expression,'#.'), num(expression, '#.##%'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does work as long as I do not select a KPI (needed in another part of the App). However, once I do select a KPI the formatting condition is ignored and all KPIs formatted according to the selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to prevent that from happening?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-conditional-formatting-for-different-KPIs-that/m-p/1530444#M746381</guid>
      <dc:creator>lukasrubner</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with conditional formatting for different KPIs that is unaffected by selections</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-conditional-formatting-for-different-KPIs-that/m-p/1530541#M746382</link>
      <description>Hi, try adding {1} to ignore selctions, also macth can be easier to manage than adding 'ors':&lt;BR /&gt;If(Match(Only({1} KPI), 'KPI1','KPI3','KPI4'), num(expression,'#.'), num(expression, '#.##%'))&lt;BR /&gt;&lt;BR /&gt;Only() returns the same value, is only used to apply set analysis ({1}).</description>
      <pubDate>Tue, 15 Jan 2019 15:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-conditional-formatting-for-different-KPIs-that/m-p/1530541#M746382</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-15T15:29:27Z</dc:date>
    </item>
  </channel>
</rss>

