<?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 Calculate ratio with text values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-ratio-with-text-values/m-p/1599367#M44313</link>
    <description>&lt;P&gt;Hi all, I've got a question regarding calculating percentages over textual data. Lets take the sample data given below (fake_data_speerpnt.xlsx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to determine the ratio of text occuring for each location at a certain year, preferably also aligned with the name. As an example see the image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dataset sample" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14970i0BCD5D27CE206B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ratio_dataset.PNG" alt="Dataset sample" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Dataset sample&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ratio calculation" style="width: 614px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14971iF353CEDBE6AB697F/image-dimensions/614x130?v=v2" width="614" height="130" role="button" title="ratio_calc.PNG" alt="Ratio calculation" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Ratio calculation&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using Count(total &amp;lt;Location&amp;gt; Agreement1) gives me the output based on location selection. However, when I want to determine the ratio, so the full expression will be Count(total &amp;lt;Location&amp;gt; Agreement1) / Count(total Agreement1). The result however does not return the ratio.&lt;/P&gt;&lt;P&gt;The outcome should be presented in a pivot table.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:30:52 GMT</pubDate>
    <dc:creator>klikgevoel</dc:creator>
    <dc:date>2024-11-16T20:30:52Z</dc:date>
    <item>
      <title>Calculate ratio with text values</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-ratio-with-text-values/m-p/1599367#M44313</link>
      <description>&lt;P&gt;Hi all, I've got a question regarding calculating percentages over textual data. Lets take the sample data given below (fake_data_speerpnt.xlsx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to determine the ratio of text occuring for each location at a certain year, preferably also aligned with the name. As an example see the image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dataset sample" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14970i0BCD5D27CE206B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ratio_dataset.PNG" alt="Dataset sample" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Dataset sample&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ratio calculation" style="width: 614px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14971iF353CEDBE6AB697F/image-dimensions/614x130?v=v2" width="614" height="130" role="button" title="ratio_calc.PNG" alt="Ratio calculation" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Ratio calculation&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using Count(total &amp;lt;Location&amp;gt; Agreement1) gives me the output based on location selection. However, when I want to determine the ratio, so the full expression will be Count(total &amp;lt;Location&amp;gt; Agreement1) / Count(total Agreement1). The result however does not return the ratio.&lt;/P&gt;&lt;P&gt;The outcome should be presented in a pivot table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-ratio-with-text-values/m-p/1599367#M44313</guid>
      <dc:creator>klikgevoel</dc:creator>
      <dc:date>2024-11-16T20:30:52Z</dc:date>
    </item>
  </channel>
</rss>

