<?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: tax calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764925#M271875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Filters,A,B,C&lt;/P&gt;&lt;P&gt;Y,34,56,23&lt;/P&gt;&lt;P&gt;N,45,45,45&lt;/P&gt;&lt;P&gt;Y,7,56,24&lt;/P&gt;&lt;P&gt;N,65,34,53&lt;/P&gt;&lt;P&gt;Y,54,45,45&lt;/P&gt;&lt;P&gt;Y,45,67,43&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,&lt;/P&gt;&lt;P&gt;'Y' as Flag,&lt;/P&gt;&lt;P&gt;IF(Filters = 'Y', Sum(A)+Sum(B)) as CommonSum&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Filters;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,&lt;/P&gt;&lt;P&gt;'N' as Flag,&lt;/P&gt;&lt;P&gt;IF(Filters = 'N', Sum(A)+Sum(C)) as CommonSum&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Filters;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,Flag,&lt;/P&gt;&lt;P&gt;Flag&amp;amp;'----'&amp;amp;CommonSum as XY_Common&lt;/P&gt;&lt;P&gt;Resident tmp&lt;/P&gt;&lt;P&gt;Where not IsNull(CommonSum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you get list box as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Commonop.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77375_Commonop.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Feb 2015 17:50:27 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2015-02-08T17:50:27Z</dc:date>
    <item>
      <title>tax calculation</title>
      <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764921#M271871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me to know how to calculate Inclusive and exclusive tax in dimension filters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;Filters should be Y or N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user clicks Y then it has to calculate A+B&lt;/P&gt;&lt;P&gt;if User Clicks N then it has to calculate A+ c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have value for A+B and A+C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2015 12:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764921#M271871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-08T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: tax calculation</title>
      <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764922#M271872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the expression write this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF( GetFieldSelections(Filters) = 'Y', Sum(A)+Sum(B),Sum(A)+Sum(C))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filters is a field here with values Y and N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2015 12:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764922#M271872</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-02-08T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: tax calculation</title>
      <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764923#M271873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(FieldName = 'Y' ,A+B,A+C))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; =sum(if(GetFieldSelections(FieldName) = 'Y' ,A+B,A+C))&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;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2015 12:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764923#M271873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-08T12:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: tax calculation</title>
      <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764924#M271874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks for the reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show in list box...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y&amp;nbsp; ---- A+B&lt;/P&gt;&lt;P&gt;N ---- A+c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2015 17:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764924#M271874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-08T17:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: tax calculation</title>
      <link>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764925#M271875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Filters,A,B,C&lt;/P&gt;&lt;P&gt;Y,34,56,23&lt;/P&gt;&lt;P&gt;N,45,45,45&lt;/P&gt;&lt;P&gt;Y,7,56,24&lt;/P&gt;&lt;P&gt;N,65,34,53&lt;/P&gt;&lt;P&gt;Y,54,45,45&lt;/P&gt;&lt;P&gt;Y,45,67,43&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,&lt;/P&gt;&lt;P&gt;'Y' as Flag,&lt;/P&gt;&lt;P&gt;IF(Filters = 'Y', Sum(A)+Sum(B)) as CommonSum&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Filters;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,&lt;/P&gt;&lt;P&gt;'N' as Flag,&lt;/P&gt;&lt;P&gt;IF(Filters = 'N', Sum(A)+Sum(C)) as CommonSum&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By &lt;/P&gt;&lt;P&gt;Filters;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Filters,Flag,&lt;/P&gt;&lt;P&gt;Flag&amp;amp;'----'&amp;amp;CommonSum as XY_Common&lt;/P&gt;&lt;P&gt;Resident tmp&lt;/P&gt;&lt;P&gt;Where not IsNull(CommonSum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you get list box as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Commonop.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77375_Commonop.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2015 17:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tax-calculation/m-p/764925#M271875</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-02-08T17:50:27Z</dc:date>
    </item>
  </channel>
</rss>

