<?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 how to calculate totals in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-calculate-totals/m-p/2452852#M98130</link>
    <description>&lt;P&gt;i have different types and countries are there , i need totals for each type and countries, some places need total&amp;nbsp; few rows like that&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Swathi_0-1715793015914.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166159i21EA447150BC2519/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715793015914.png" alt="Swathi_0-1715793015914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the above screenshot we can see i have&amp;nbsp; group, country, type fields are there, for group is Europe, i need all totals Europe group.&amp;nbsp; as group europe i have&amp;nbsp; 3 types Totals are there one is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.TOTAL&lt;/P&gt;
&lt;P&gt;2.TOTAL Power&lt;/P&gt;
&lt;P&gt;3.TOTAL Gas&lt;/P&gt;
&lt;P&gt;TOTAL means summ of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), irrespetive of which type it is. it will summ of all rows for Group='Europe'&lt;/P&gt;
&lt;P&gt;TOTAL Power&amp;nbsp;means sum of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), where Group='Europe' and Type ='Power'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried below formula, but iam not any getting any data it is 0.0 as seen screenshot.&lt;/P&gt;
&lt;P&gt;Pick(SrNo,&lt;/P&gt;
&lt;P&gt;if(GetFieldSelections (Group)='Europe',&lt;BR /&gt;if(Country= 'TOTAL',&lt;BR /&gt;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF),&lt;BR /&gt;if(Country='TOTAL Power',&lt;BR /&gt;{&amp;lt;Year={$(vYearSelect)},Group={'Europe'},Type={'Power'}&amp;gt;} $(vPortfolioValue_mCHF),&lt;BR /&gt;if(Country='TOTAL Gas',&lt;BR /&gt;{&amp;lt;Year={$(vYearSelect)},Group={'Europe'},Type={'Natgas'}&amp;gt;} $(vPortfolioValue_mCHF)&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;),{&amp;lt;Year={$(vYearSelect)},Group={'Europe'}&amp;gt;} $(vPortfolioValue_mCHF))&lt;/P&gt;
&lt;P&gt;variable&amp;nbsp; formula is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$(vPortfolioValue_mCHF),=&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;num(Sum(((ConsumptionForecast&lt;BR /&gt;*&lt;BR /&gt;(HedgeableCapacitiesTotal&lt;BR /&gt;*&lt;BR /&gt;If(ConsumptionForecast&amp;lt;&amp;gt;0,&lt;BR /&gt;If(AveragePriceUnhedgedFWD &amp;lt;&amp;gt; 0 and AveragePriceUnhedgedFWD &amp;lt;&amp;gt; '',&lt;BR /&gt;AveragePriceUnhedgedFWD - [FinancialImpactP&amp;amp;LMtminK] * 1000 / ConsumptionForecast,&lt;BR /&gt;MarketPrices - [FinancialImpactP&amp;amp;LMtminK] * 1000 / ConsumptionForecast),0)))&lt;BR /&gt;/HedgeableCapacitiesTotal)&lt;/P&gt;
&lt;P&gt;/(1*1000000)) * Sum(Blended),'#0.0')&lt;/P&gt;
&lt;P&gt;Kindly help to get these&amp;nbsp; it's very urgent and important.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:58:18 GMT</pubDate>
    <dc:creator>Swathi</dc:creator>
    <dc:date>2024-11-15T20:58:18Z</dc:date>
    <item>
      <title>how to calculate totals</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-calculate-totals/m-p/2452852#M98130</link>
      <description>&lt;P&gt;i have different types and countries are there , i need totals for each type and countries, some places need total&amp;nbsp; few rows like that&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Swathi_0-1715793015914.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166159i21EA447150BC2519/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715793015914.png" alt="Swathi_0-1715793015914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the above screenshot we can see i have&amp;nbsp; group, country, type fields are there, for group is Europe, i need all totals Europe group.&amp;nbsp; as group europe i have&amp;nbsp; 3 types Totals are there one is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.TOTAL&lt;/P&gt;
&lt;P&gt;2.TOTAL Power&lt;/P&gt;
&lt;P&gt;3.TOTAL Gas&lt;/P&gt;
&lt;P&gt;TOTAL means summ of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), irrespetive of which type it is. it will summ of all rows for Group='Europe'&lt;/P&gt;
&lt;P&gt;TOTAL Power&amp;nbsp;means sum of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), where Group='Europe' and Type ='Power'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried below formula, but iam not any getting any data it is 0.0 as seen screenshot.&lt;/P&gt;
&lt;P&gt;Pick(SrNo,&lt;/P&gt;
&lt;P&gt;if(GetFieldSelections (Group)='Europe',&lt;BR /&gt;if(Country= 'TOTAL',&lt;BR /&gt;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF),&lt;BR /&gt;if(Country='TOTAL Power',&lt;BR /&gt;{&amp;lt;Year={$(vYearSelect)},Group={'Europe'},Type={'Power'}&amp;gt;} $(vPortfolioValue_mCHF),&lt;BR /&gt;if(Country='TOTAL Gas',&lt;BR /&gt;{&amp;lt;Year={$(vYearSelect)},Group={'Europe'},Type={'Natgas'}&amp;gt;} $(vPortfolioValue_mCHF)&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;),{&amp;lt;Year={$(vYearSelect)},Group={'Europe'}&amp;gt;} $(vPortfolioValue_mCHF))&lt;/P&gt;
&lt;P&gt;variable&amp;nbsp; formula is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$(vPortfolioValue_mCHF),=&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;num(Sum(((ConsumptionForecast&lt;BR /&gt;*&lt;BR /&gt;(HedgeableCapacitiesTotal&lt;BR /&gt;*&lt;BR /&gt;If(ConsumptionForecast&amp;lt;&amp;gt;0,&lt;BR /&gt;If(AveragePriceUnhedgedFWD &amp;lt;&amp;gt; 0 and AveragePriceUnhedgedFWD &amp;lt;&amp;gt; '',&lt;BR /&gt;AveragePriceUnhedgedFWD - [FinancialImpactP&amp;amp;LMtminK] * 1000 / ConsumptionForecast,&lt;BR /&gt;MarketPrices - [FinancialImpactP&amp;amp;LMtminK] * 1000 / ConsumptionForecast),0)))&lt;BR /&gt;/HedgeableCapacitiesTotal)&lt;/P&gt;
&lt;P&gt;/(1*1000000)) * Sum(Blended),'#0.0')&lt;/P&gt;
&lt;P&gt;Kindly help to get these&amp;nbsp; it's very urgent and important.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-calculate-totals/m-p/2452852#M98130</guid>
      <dc:creator>Swathi</dc:creator>
      <dc:date>2024-11-15T20:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate totals</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-calculate-totals/m-p/2455860#M98464</link>
      <description>&lt;P&gt;We recommend to start with sample dummy application if your data is so sensitive and send it to us the QVF to look.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 01:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-calculate-totals/m-p/2455860#M98464</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-05-24T01:26:57Z</dc:date>
    </item>
  </channel>
</rss>

