<?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 Help with a table and a formula (differentiating currency, absolute numbers and %) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-a-table-and-a-formula-differentiating-currency/m-p/2513792#M105380</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I need help with the following formula.&lt;/P&gt;&lt;P&gt;So the thing is, I have a dataset with a column called Measure, and then four other columns called Q1,Q2,Q3 and Q4.&lt;/P&gt;&lt;P&gt;In the measure columns there are different categories, some of them are % while others are absolute numbers.&lt;/P&gt;&lt;P&gt;I need to show them in a way that I have the following columns in Qlik:&lt;/P&gt;&lt;P&gt;Measure&amp;nbsp;&amp;nbsp; Q1&amp;nbsp;&amp;nbsp;&amp;nbsp; Q2&amp;nbsp;&amp;nbsp;&amp;nbsp; Q3&amp;nbsp;&amp;nbsp;&amp;nbsp; Q4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was succeful with that with the following formula, with I used it as a dimension in my table, while I used Q1, Q2, Q3 and Q4 as measures…&lt;/P&gt;&lt;P&gt;The problem is, that all the values in my table are shown as absolute numbers, and it should not be like that, some should be shown as currency some others as % and some others as absolute numbers.&lt;/P&gt;&lt;P&gt;What can i do? this is my formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=If(Len(Trim(Measure)) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; AND Match(Measure, 'Sales ($)', 'Number of shops', 'Number of shops %' , 'Number of shops %,' Employees', 'Bosses',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'clients', 'entries', 'revenue $'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Measure, Match(Measure, 'Sales ($)', 'Number of shops', 'Number of shops %', ' Employees', 'Bosses',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'clients', 'entries', 'revenue $'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, 'Sales ($)' should be shown as currency, 'Number of shops' as absolute number, 'Number of shops %' as % , ' Employees' as absolute number, 'Bosses' as absolute number, 'clients' as absolute number, 'entries' as absolute number, &amp;nbsp;and 'revenue $' as currency&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 08:34:08 GMT</pubDate>
    <dc:creator>Nemo1</dc:creator>
    <dc:date>2025-04-10T08:34:08Z</dc:date>
    <item>
      <title>Help with a table and a formula (differentiating currency, absolute numbers and %)</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-a-table-and-a-formula-differentiating-currency/m-p/2513792#M105380</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I need help with the following formula.&lt;/P&gt;&lt;P&gt;So the thing is, I have a dataset with a column called Measure, and then four other columns called Q1,Q2,Q3 and Q4.&lt;/P&gt;&lt;P&gt;In the measure columns there are different categories, some of them are % while others are absolute numbers.&lt;/P&gt;&lt;P&gt;I need to show them in a way that I have the following columns in Qlik:&lt;/P&gt;&lt;P&gt;Measure&amp;nbsp;&amp;nbsp; Q1&amp;nbsp;&amp;nbsp;&amp;nbsp; Q2&amp;nbsp;&amp;nbsp;&amp;nbsp; Q3&amp;nbsp;&amp;nbsp;&amp;nbsp; Q4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was succeful with that with the following formula, with I used it as a dimension in my table, while I used Q1, Q2, Q3 and Q4 as measures…&lt;/P&gt;&lt;P&gt;The problem is, that all the values in my table are shown as absolute numbers, and it should not be like that, some should be shown as currency some others as % and some others as absolute numbers.&lt;/P&gt;&lt;P&gt;What can i do? this is my formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=If(Len(Trim(Measure)) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; AND Match(Measure, 'Sales ($)', 'Number of shops', 'Number of shops %' , 'Number of shops %,' Employees', 'Bosses',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'clients', 'entries', 'revenue $'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Measure, Match(Measure, 'Sales ($)', 'Number of shops', 'Number of shops %', ' Employees', 'Bosses',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'clients', 'entries', 'revenue $'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, 'Sales ($)' should be shown as currency, 'Number of shops' as absolute number, 'Number of shops %' as % , ' Employees' as absolute number, 'Bosses' as absolute number, 'clients' as absolute number, 'entries' as absolute number, &amp;nbsp;and 'revenue $' as currency&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 08:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-a-table-and-a-formula-differentiating-currency/m-p/2513792#M105380</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2025-04-10T08:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a table and a formula (differentiating currency, absolute numbers and %)</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-a-table-and-a-formula-differentiating-currency/m-p/2513796#M105383</link>
      <description>&lt;P&gt;You can use the num() function to format values. But to help you further it would be great with some example rows of what the raw data looks like in the backend table, and what result you want in the displayed table in frontend.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 09:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-a-table-and-a-formula-differentiating-currency/m-p/2513796#M105383</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2025-04-10T09:06:50Z</dc:date>
    </item>
  </channel>
</rss>

