<?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 QlikSense AGGR Function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-AGGR-Function/m-p/24643#M1668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;I’m looking for an aggregate function in Qlik sense to do the below&lt;/P&gt;&lt;P&gt;My data table looks like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 4.65pt; padding: 0px 5.4pt; width: 299px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Part&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Actual&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Percentage(Caluclated as Actual/ Plan)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;6&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;200%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;F&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;G&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;75%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;H&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;I&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the output as a bar graph with the data as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 4.65pt; padding: 0 5.4pt 0 5.4pt;" width="161"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Percentage&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Count&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;75%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;200%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;&amp;gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;N/A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the colors from the input table and out table for a clear understanding of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that when the plan is 0 and actual is &amp;gt;0, I want the Percentage to show as &amp;gt; 100% with count as number of records (in this case it is 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If both plan and actual are 0. I want the Percentage to be N/A or something unique. So, it can be treated as no plan and no actual (In this case we have only 1 record).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
    <dc:creator>harikattamudi</dc:creator>
    <dc:date>2021-12-22T15:42:54Z</dc:date>
    <item>
      <title>QlikSense AGGR Function</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-AGGR-Function/m-p/24643#M1668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;I’m looking for an aggregate function in Qlik sense to do the below&lt;/P&gt;&lt;P&gt;My data table looks like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 4.65pt; padding: 0px 5.4pt; width: 299px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Part&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Actual&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Percentage(Caluclated as Actual/ Plan)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;6&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;200%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;E&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;F&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;G&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;75%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;H&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;I&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="83"&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;#DIV/0!&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the output as a bar graph with the data as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 4.65pt; padding: 0 5.4pt 0 5.4pt;" width="161"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Percentage&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P&gt;&lt;STRONG style="color: black; font-family: 'Arial','sans-serif';"&gt;Count&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;0%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #8DB4E2; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;75%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #E6B8B7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #FABF8F; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;200%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #B1A0C7; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;&amp;gt;100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: #92D050; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="89"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;N/A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: yellow; padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="72"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the colors from the input table and out table for a clear understanding of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that when the plan is 0 and actual is &amp;gt;0, I want the Percentage to show as &amp;gt; 100% with count as number of records (in this case it is 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If both plan and actual are 0. I want the Percentage to be N/A or something unique. So, it can be treated as no plan and no actual (In this case we have only 1 record).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-AGGR-Function/m-p/24643#M1668</guid>
      <dc:creator>harikattamudi</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense AGGR Function</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-AGGR-Function/m-p/24644#M1669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Plan = 0 and Actual = 0, 'N/A',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Plan = 0, '&amp;gt;100%',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Actual = 0, '0%',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Actual/Plan &amp;lt;= 0.75, '75%',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Actual/Plan &amp;lt;= 1, '100%'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Actual/Plac &amp;lt;= 2, '200%'))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,Part)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT Part)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 17:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-AGGR-Function/m-p/24644#M1669</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-26T17:45:58Z</dc:date>
    </item>
  </channel>
</rss>

