<?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: Working with percentage columns in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1695302#M450906</link>
    <description>&lt;P&gt;The count of alias will not work because that is not the most granular level of data in my data model.&amp;nbsp; I did some more experimentation and think I have what I need.&amp;nbsp; I used this get the blue column (bslip total):&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;sum(total aggr(count(distinct [bslip]), [alias]))&lt;/STRONG&gt;.&amp;nbsp; Now that I have &lt;U&gt;bslip total&lt;/U&gt; and &lt;U&gt;bslip count&lt;/U&gt;, I can use those column names in an expression to get me the correct row percentages (and correct column percentage total).&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 14:50:23 GMT</pubDate>
    <dc:creator>kdmarkee</dc:creator>
    <dc:date>2020-04-21T14:50:23Z</dc:date>
    <item>
      <title>Working with percentage columns in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1694528#M450843</link>
      <description>&lt;P&gt;I'm sure this can be done but I haven't found the magic code yet upon my experimentation.&amp;nbsp; I have an issue where based on my data model's complexity, I get odd results when counting distinct for a column and then wanting to have a "% of" on that column as well.&lt;/P&gt;&lt;P&gt;Here is the underlying raw data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rawdata.PNG" style="width: 115px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32047i601208FA84F61FA0/image-dimensions/115x145?v=v2" width="115" height="145" role="button" title="rawdata.PNG" alt="rawdata.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this is what is true:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="true.PNG" style="width: 162px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32048iF1E39F0C8BAE444D/image-dimensions/162x85?v=v2" width="162" height="85" role="button" title="true.PNG" alt="true.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what Qlik does, which in turn can make my % of bslips column wrong and the column total &amp;gt; 100%:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="false.PNG" style="width: 171px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32049i1C7F060818F78CA8/image-dimensions/171x90?v=v2" width="171" height="90" role="button" title="false.PNG" alt="false.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I think I need to overcome this...how do I build the blue column so I can&amp;nbsp;use the column names from my expressions in my % bslips expression :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="build total col.PNG" style="width: 216px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/32050i97EC036198B6158B/image-dimensions/216x68?v=v2" width="216" height="68" role="button" title="build total col.PNG" alt="build total col.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 19:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1694528#M450843</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2020-04-17T19:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Working with percentage columns in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1694573#M450845</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Qlik Should give you correct result, if you have used proper expressions.&lt;/P&gt;&lt;P&gt;Anyways to get the blue field you can use below expression.&lt;/P&gt;&lt;P&gt;Count(Total alias)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 10:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1694573#M450845</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2020-04-18T10:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Working with percentage columns in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1695302#M450906</link>
      <description>&lt;P&gt;The count of alias will not work because that is not the most granular level of data in my data model.&amp;nbsp; I did some more experimentation and think I have what I need.&amp;nbsp; I used this get the blue column (bslip total):&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;sum(total aggr(count(distinct [bslip]), [alias]))&lt;/STRONG&gt;.&amp;nbsp; Now that I have &lt;U&gt;bslip total&lt;/U&gt; and &lt;U&gt;bslip count&lt;/U&gt;, I can use those column names in an expression to get me the correct row percentages (and correct column percentage total).&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 14:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-percentage-columns-in-QlikView/m-p/1695302#M450906</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2020-04-21T14:50:23Z</dc:date>
    </item>
  </channel>
</rss>

