<?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: Button to change absolute and percentile view in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905168#M74628</link>
    <description>&lt;P&gt;1) Create a variable, e.g. vDisplayType and set its value to 0&lt;/P&gt;
&lt;P&gt;2) Create a button that toggles this variable using a formula such as if(vDisplayType=0,1,0)&lt;/P&gt;
&lt;P&gt;3) Within your master measures / expressions, you can refer to this variable, e.g. if(vDisplayType = 0,Sum(Value),Sum(Value)/Sum(Total Value)).&lt;/P&gt;
&lt;P&gt;Alternatively, you can create two measures, add both to your table, and apply a "Show column if" condition to each one - one would be vDisplayType = 0 and one would be vDisplayType = 1. Note that this approach works fine for tables but is not available in most charts, iirc.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 08:41:51 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-03-15T08:41:51Z</dc:date>
    <item>
      <title>Button to change absolute and percentile view</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905020#M74619</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I am developing an app and I need to change very often between absolute numbers and percentiles in the tables. I think that a button would be an easy and elegant way to do it, but I don't know how to do that. Any advice, please?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 23:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905020#M74619</guid>
      <dc:creator>Shaglok</dc:creator>
      <dc:date>2022-03-14T23:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Button to change absolute and percentile view</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905161#M74627</link>
      <description>&lt;P&gt;Have you tried changing dimensions based on variables with a button? There is a "Set variable" action, which you could use. I also wanted to confirm this is for Qlik Sense Enterprise on Windows.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905161#M74627</guid>
      <dc:creator>Mario_Petre</dc:creator>
      <dc:date>2022-03-15T08:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Button to change absolute and percentile view</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905168#M74628</link>
      <description>&lt;P&gt;1) Create a variable, e.g. vDisplayType and set its value to 0&lt;/P&gt;
&lt;P&gt;2) Create a button that toggles this variable using a formula such as if(vDisplayType=0,1,0)&lt;/P&gt;
&lt;P&gt;3) Within your master measures / expressions, you can refer to this variable, e.g. if(vDisplayType = 0,Sum(Value),Sum(Value)/Sum(Total Value)).&lt;/P&gt;
&lt;P&gt;Alternatively, you can create two measures, add both to your table, and apply a "Show column if" condition to each one - one would be vDisplayType = 0 and one would be vDisplayType = 1. Note that this approach works fine for tables but is not available in most charts, iirc.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-change-absolute-and-percentile-view/m-p/1905168#M74628</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-15T08:41:51Z</dc:date>
    </item>
  </channel>
</rss>

