<?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: % incorrect in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123452#M764966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using in this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2018 11:58:29 GMT</pubDate>
    <dc:creator>nishanthi_8</dc:creator>
    <dc:date>2018-07-25T11:58:29Z</dc:date>
    <item>
      <title>% incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123451#M764965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate percentage from script but its showing wrong value.&lt;/P&gt;&lt;P&gt;can you help me to resolve it.&lt;/P&gt;&lt;P&gt;below is the script and screen shot of the&amp;nbsp; output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'1' as Dom_PL_HCount,&lt;/P&gt;&lt;P&gt;Month(Booking_Date_All) as dom_TMonth,&lt;/P&gt;&lt;P&gt;Year(Booking_Date_All) as dom_TYEAR,&lt;/P&gt;&lt;P&gt;Gross_Sales_NonAir as dom_b2b2&lt;/P&gt;&lt;P&gt;Resident Ezeego where [Flag Air/Non-Air]='Non-Air' and Source='B2B' and [Flag International/Domestic]='Domestic';&lt;/P&gt;&lt;P&gt;Concatenate(dom_actual1)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'5' as Dom_PL_HCount,&lt;/P&gt;&lt;P&gt;Month(Booking_Date_All) as dom_TMonth,&lt;/P&gt;&lt;P&gt;Year(Booking_Date_All) as dom_TYEAR,&lt;/P&gt;&lt;P&gt;Income as dom_b2b2&lt;/P&gt;&lt;P&gt;Resident Ezeego where [Flag Air/Non-Air]='Non-Air' and Source='B2B' and [Flag International/Domestic]='Domestic';&lt;/P&gt;&lt;P&gt;Concatenate(dom_actual1)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'8' as Dom_PL_HCount,&lt;/P&gt;&lt;P&gt;dom_TMonth,&lt;/P&gt;&lt;P&gt; dom_TYEAR,&lt;/P&gt;&lt;P&gt; sum(if(Dom_PL_HCount='5',dom_b2b2))/sum(if(Dom_PL_HCount='1',dom_b2b2)) as dom_b2b2&lt;/P&gt;&lt;P&gt;resident dom_actual1 group by dom_TMonth,dom_TYEAR;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123451#M764965</guid>
      <dc:creator>pranali_gawde</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123452#M764966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using in this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 11:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123452#M764966</guid>
      <dc:creator>nishanthi_8</dc:creator>
      <dc:date>2018-07-25T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123453#M764967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(dom_b2b2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123453#M764967</guid>
      <dc:creator>pranali_gawde</dc:creator>
      <dc:date>2018-07-25T12:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123454#M764968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the pupose of concatenating with the original table and again taking resident of it? This might also lead to improper values. Try this , concatenate the table which contains " &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'8' as Dom_PL_HCount" field and then take resident of&amp;nbsp; "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; dom_actual1"&lt;/SPAN&gt; and try your calculation. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 04:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123454#M764968</guid>
      <dc:creator>nishanthi_8</dc:creator>
      <dc:date>2018-07-26T04:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123455#M764969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try use below expression&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dom_PL_HCount='8',num#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(dom_b2b2),'#,#0% ;'),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(dom_b2b2))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 07:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123455#M764969</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2018-07-26T07:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123456#M764970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a result set in percentage% use Aggregate functions in Expression instances of a script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want use only in script , then use preceding load in script and aggregate data first and do , what you want result set according ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;can you share excel sheet&amp;nbsp; with expected Output?&lt;/STRONG&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 04:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123456#M764970</guid>
      <dc:creator>pintucs20</dc:creator>
      <dc:date>2018-07-28T04:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123457#M764971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much all for your quick reply. I Ressolved the&amp;nbsp; Problem&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 07:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123457#M764971</guid>
      <dc:creator>pranali_gawde</dc:creator>
      <dc:date>2018-07-29T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: % incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect/m-p/123458#M764972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share the solution, to make it useful to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make it as Answered, close this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 14:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect/m-p/123458#M764972</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-29T14:51:35Z</dc:date>
    </item>
  </channel>
</rss>

