<?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 Condition on a Pivot table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Condition-on-a-Pivot-table/m-p/1849030#M70171</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have to make a pivot with this size. In the case 1&amp;nbsp; we have only one COMMESSA for each WBS. In this case the pivot is right because i have the date for the balanced hours . In the case 2, instead, i have more COMMESSA for one WBS and so the pivot aggregs the total hours of WBS for each COMMESSA. I have to calculate the balanced hours like a percent (sum(hours_allocated)/sum(total(hour_allocated))*sum(total(balanced_hours)).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem are the condition for this two different cases.&amp;nbsp; How is possible to calcolate the count(total(COMMESSA)) in a WBS? This have to stay indipendent of the current selection.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 16:28:14 GMT</pubDate>
    <dc:creator>DanieleCancellieri</dc:creator>
    <dc:date>2021-10-19T16:28:14Z</dc:date>
    <item>
      <title>Condition on a Pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Condition-on-a-Pivot-table/m-p/1849030#M70171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have to make a pivot with this size. In the case 1&amp;nbsp; we have only one COMMESSA for each WBS. In this case the pivot is right because i have the date for the balanced hours . In the case 2, instead, i have more COMMESSA for one WBS and so the pivot aggregs the total hours of WBS for each COMMESSA. I have to calculate the balanced hours like a percent (sum(hours_allocated)/sum(total(hour_allocated))*sum(total(balanced_hours)).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem are the condition for this two different cases.&amp;nbsp; How is possible to calcolate the count(total(COMMESSA)) in a WBS? This have to stay indipendent of the current selection.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 16:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Condition-on-a-Pivot-table/m-p/1849030#M70171</guid>
      <dc:creator>DanieleCancellieri</dc:creator>
      <dc:date>2021-10-19T16:28:14Z</dc:date>
    </item>
  </channel>
</rss>

