<?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 totals data for rows in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-totals-data-for-rows/m-p/2452789#M98120</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-1715782215191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166147i7657AAD764C4968D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715782215191.png" alt="Swathi_0-1715782215191.png" /&gt;&lt;/span&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Swathi_0-1715782215191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166147i7657AAD764C4968D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715782215191.png" alt="Swathi_0-1715782215191.png" /&gt;&lt;/span&gt;&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 in country field only 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 sum of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), irrespetive of which type it is. it will sum 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 ='Natgas'.&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;Kindly help to get these&amp;nbsp; it's very urgent and important.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;, Please help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:58:22 GMT</pubDate>
    <dc:creator>Swathi</dc:creator>
    <dc:date>2024-11-15T20:58:22Z</dc:date>
    <item>
      <title>how to totals data for rows</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-totals-data-for-rows/m-p/2452789#M98120</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-1715782215191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166147i7657AAD764C4968D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715782215191.png" alt="Swathi_0-1715782215191.png" /&gt;&lt;/span&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Swathi_0-1715782215191.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166147i7657AAD764C4968D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Swathi_0-1715782215191.png" alt="Swathi_0-1715782215191.png" /&gt;&lt;/span&gt;&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 in country field only 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 sum of all&amp;nbsp;{&amp;lt;Year = {$(vYearSelect)}&amp;gt; } $(vPortfolioValue_mCHF), irrespetive of which type it is. it will sum 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 ='Natgas'.&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;Kindly help to get these&amp;nbsp; it's very urgent and important.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;, Please help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-totals-data-for-rows/m-p/2452789#M98120</guid>
      <dc:creator>Swathi</dc:creator>
      <dc:date>2024-11-15T20:58:22Z</dc:date>
    </item>
  </channel>
</rss>

