<?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: Pivot Table Cost Income ratio in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813608#M9105</link>
    <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;The formula works great. I am facing an issue while filtering the columns, maybe you already to know how to avoid the filtering issue as well? When i filter by sub-function its shows me Zero.&lt;/P&gt;&lt;P&gt;Looking forward to hear from you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umar Sherief&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 11:15:22 GMT</pubDate>
    <dc:creator>Sanju1</dc:creator>
    <dc:date>2021-06-08T11:15:22Z</dc:date>
    <item>
      <title>Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813483#M9102</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing a problem to bring the Operating expense ratio (cost/Revenue) in a pivot table. I can easily achieve this by country using formula "sum({&amp;lt;AccountName={'Indirect'}&amp;gt;}FY)/sum({&amp;lt;AccountName={'Revenue'}&amp;gt;}FY)"&lt;/P&gt;&lt;P&gt;However, i do want to see the OpEx by function (eg., IT, Finance etc), table contains revenue by country and indirect cost split by country/function.&lt;/P&gt;&lt;P&gt;I am unable to get the OpEx ratio by the above formula in a pivot row/column view, it all shows null().&lt;/P&gt;&lt;P&gt;I can do alternate by applying the formula to individual function type, which means i will end up creating 20 separate measures.&lt;/P&gt;&lt;P&gt;Looking forward for a smart and easy solution. QVF file is attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pivot view" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56455i818DB83D7EBFB78C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="Pivot view" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Pivot view&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula i am using" style="width: 570px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56456iA81C064860E62A34/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="Formula i am using" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Formula i am using&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813483#M9102</guid>
      <dc:creator>Sanju1</dc:creator>
      <dc:date>2021-06-07T20:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813485#M9103</link>
      <description>&lt;P&gt;The following should give you the ratio of Indirect Function/Subfunction to Country Revenue, in the pivot, if that is what you are looking for.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AccountName={'Indirect'}&amp;gt;} FY) / sum({$&amp;lt;AccountName={'Revenue'}&amp;gt;} Total &amp;lt;Country&amp;gt; FY)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813485#M9103</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-06-07T20:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813486#M9104</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;I have no words to explain, that's exactly what i was looking for. Thank you so much for your reply, I appreciate your help.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813486#M9104</guid>
      <dc:creator>Sanju1</dc:creator>
      <dc:date>2021-06-07T20:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813608#M9105</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;The formula works great. I am facing an issue while filtering the columns, maybe you already to know how to avoid the filtering issue as well? When i filter by sub-function its shows me Zero.&lt;/P&gt;&lt;P&gt;Looking forward to hear from you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Umar Sherief&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 11:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813608#M9105</guid>
      <dc:creator>Sanju1</dc:creator>
      <dc:date>2021-06-08T11:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813632#M9106</link>
      <description>&lt;P&gt;You add the Function and Sub-Function fields to the set analysis so selections made in these fields are ignored for the Revenue calc like this:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AccountName={'Indirect'}&amp;gt;} FY) / sum({$&amp;lt;AccountName={'Revenue'},Function=,SubFunction=&amp;gt;} Total &amp;lt;Country&amp;gt; FY)&lt;/P&gt;&lt;P&gt;But, since you have Nulls in your data and the data model is not optimal, you will see a Null value in your dimension values.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 12:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813632#M9106</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-06-08T12:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table Cost Income ratio</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813636#M9107</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;This is wonderful, i tried those function, sub-function set parameters in the total's and in cost section. Didn't try it in the revenue side.&lt;BR /&gt;It works like a charm. Once again thank you for your support and appreciate your help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 12:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Pivot-Table-Cost-Income-ratio/m-p/1813636#M9107</guid>
      <dc:creator>Sanju1</dc:creator>
      <dc:date>2021-06-08T12:17:30Z</dc:date>
    </item>
  </channel>
</rss>

