<?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: Alignment in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314040#M515310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your effort Chai but does not work for 100% and with single percentage results such as 5% it looks like 05% which doesn't look quite right.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the best solution would be to separate the Volume Total with the %NStd total into two total columns but I cannot seem to figure out how to do that without messing up the whole pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 19:00:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-05T19:00:38Z</dc:date>
    <item>
      <title>Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314034#M515304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a pivot table, I have the following expression which results in calculated values for "Tot" and "%NStd" screen pasted below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(columnno()=0, num(round(sum(total &amp;lt;ASSIGNED_TEAM,UW,REPORTING_PERIOD&amp;gt; CNT)),'#,##0')&lt;/P&gt;&lt;P&gt;&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;amp;&lt;/P&gt;&lt;P&gt;num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;ASSIGNED_TEAM,UW,REPORTING_PERIOD&amp;gt; CNT)),'#,##0%'),num(round(sum(CNT)),'#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the alignment for the values under "Tot" goes awry with the varying results under "%NStd".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I put in my expression so that the values under "Tot" are all always right aligned no matter the results under "%NStd"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;IMG alt="PivotTableResults.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165832_PivotTableResults.PNG" style="height: 467px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314034#M515304</guid>
      <dc:creator />
      <dc:date>2017-06-05T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314035#M515305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample app to look into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314035#M515305</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-05T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314036#M515306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I insert a qvw file in this thread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314036#M515306</guid>
      <dc:creator />
      <dc:date>2017-06-05T16:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314037#M515307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you click on reply button you can see Use advanced editor on top right of the reply window, when you click on it, you can see a Attach link on bottom right. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 16:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314037#M515307</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-05T16:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314038#M515308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the sample.&amp;nbsp; Thanks for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 17:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314038#M515308</guid>
      <dc:creator />
      <dc:date>2017-06-05T17:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314039#M515309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is with&amp;nbsp; single digit&amp;nbsp; %NStd values.So you can add additional zero for number format '#,##00%' instead of '#,##0%'.But 0% will be shown as 00%.See attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="165802" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165802_Capture.PNG" style="height: 208px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 18:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314039#M515309</guid>
      <dc:creator>chaper</dc:creator>
      <dc:date>2017-06-05T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314040#M515310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your effort Chai but does not work for 100% and with single percentage results such as 5% it looks like 05% which doesn't look quite right.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the best solution would be to separate the Volume Total with the %NStd total into two total columns but I cannot seem to figure out how to do that without messing up the whole pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 19:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314040#M515310</guid>
      <dc:creator />
      <dc:date>2017-06-05T19:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314041#M515311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree it is not perfect solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 19:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314041#M515311</guid>
      <dc:creator>chaper</dc:creator>
      <dc:date>2017-06-05T19:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314042#M515312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression.Not perfect but it helps .I see issue with 100% also&lt;/P&gt;&lt;P&gt;=if(columnno()=0,&lt;/P&gt;&lt;P&gt;num(round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0')&lt;/P&gt;&lt;P&gt;&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;amp; if(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT))&amp;lt;0.1,num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0&amp;nbsp; %'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0%'))&lt;/P&gt;&lt;P&gt;,num(round(sum(CNT)),'#,##0'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 19:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314042#M515312</guid>
      <dc:creator>chaper</dc:creator>
      <dc:date>2017-06-05T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314043#M515313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost there except when the value = 10%, it looks off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314043#M515313</guid>
      <dc:creator />
      <dc:date>2017-06-05T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314044#M515314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think 10% looks fine except 100% right ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314044#M515314</guid>
      <dc:creator>chaper</dc:creator>
      <dc:date>2017-06-05T20:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314045#M515315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some of the 10% looks good and some don't depending on the rounding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, I think I will close this out and see if I ass for assistance to split the two columns.&amp;nbsp; The formatting thing doesn't seem to be working out as the best solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314045#M515315</guid>
      <dc:creator />
      <dc:date>2017-06-05T20:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314046#M515316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this now. Almost there it handles everything including 100% issue also&lt;/P&gt;&lt;P&gt;=if(columnno()=0,&lt;/P&gt;&lt;P&gt;(num(round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0'))&lt;/P&gt;&lt;P&gt;&amp;amp;'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;amp; if(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT))&amp;lt;0.1,num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0&amp;nbsp;&amp;nbsp;&amp;nbsp; %'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT))=1,num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0%'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(round(sum({&amp;lt;REPORTING_PERIOD={'Non-Std'}&amp;gt;}CNT))/round(sum(total &amp;lt;TEAM,CustomerName,REPORTING_PERIOD&amp;gt; CNT)),'#,##0&amp;nbsp; %')))&lt;/P&gt;&lt;P&gt;,num(round(sum(CNT)),'#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="165843" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165843_Capture.PNG" style="height: 395px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alignment-in-Expression/m-p/1314046#M515316</guid>
      <dc:creator>chaper</dc:creator>
      <dc:date>2017-06-05T20:37:04Z</dc:date>
    </item>
  </channel>
</rss>

