<?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: Issue in total of  Straight table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536420#M108673</link>
    <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Aggr(Count(DISTINCT [Seller Limit ID]), [Seller GCIN]) = 1,&lt;BR /&gt;&lt;BR /&gt;num( Min({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt={1},Flag_Capt={1}&amp;gt;} [Seller Limit]), '#,##0'),&lt;BR /&gt;&lt;BR /&gt;num(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Sum(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Aggr(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Only({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt=&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {1},Flag_Capt={1}&amp;gt;} [Seller Limit]),&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Seller GCIN],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Seller Limit ID]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'#,##0'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 07:30:27 GMT</pubDate>
    <dc:creator>Nagaraju_KCS</dc:creator>
    <dc:date>2025-11-18T07:30:27Z</dc:date>
    <item>
      <title>Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536291#M108645</link>
      <description>&lt;P&gt;Hi, I need implement the logic if one gcin have 1 limit id then show min of seller limit , but if 1 gcin have move than one limit id then it show&amp;nbsp; some of distinct&amp;nbsp; Seller limit&amp;nbsp; and in total it show&amp;nbsp;89,420,000. I am using this formula to display seller limit =if(Aggr(Count(DISTINCT[Seller Limit ID]),[Seller GCIN])=1,&lt;BR /&gt;num( ( min({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt={1},Flag_Capt={1}&amp;gt;}[Seller Limit])),'#,##0'),&lt;BR /&gt;num( ( sum(DISTINCT{&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt={1},Flag_Capt={1}&amp;gt;}[Seller Limit])),'#,##0'))&lt;/P&gt;&lt;P&gt;But&amp;nbsp; formula show&amp;nbsp;44,710,000 in total because of different Seller code&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2025 04:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536291#M108645</guid>
      <dc:creator>shweta26</dc:creator>
      <dc:date>2025-11-15T04:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536316#M108654</link>
      <description>&lt;P&gt;Hi Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If(Count(DISTINCT [Seller Limit ID]) = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Min({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum={"$(vMaxDateNum)"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Flag_Lopt={1},Flag_Capt={1}&amp;gt;} [Seller Limit]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum(DISTINCT {&amp;lt;Month,Year,YearMonth,MonthNum,DateNum={"$(vMaxDateNum)"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Flag_Lopt={1},Flag_Capt={1}&amp;gt;} [Seller Limit])&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Seller GCIN]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2025 18:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536316#M108654</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-11-16T18:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536341#M108659</link>
      <description>&lt;P&gt;The formula shared above does not work correctly. While it gives the correct total value (i.e., 89,420,000), in cases where the same GCIN (row2 and 3) and same Limit ID exist but with different Seller Codes, the value becomes 0.&lt;/P&gt;&lt;P&gt;Seller gcin,seller code, seller limit id, sellerlimit&amp;nbsp;&lt;SPAN&gt;Above formula shared by you doesnot work because it give correct value in total i.e.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;89,420,000&amp;nbsp; but one of the limit id value become 0 where gcin and limit id is same but seller code is different&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;gcin,seller_code ,seller_limit_id,seller_limit&lt;/P&gt;&lt;P&gt;Total.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;89,420,000&lt;BR /&gt;1001,S001,1001,&lt;SPAN&gt;44,710,000&lt;/SPAN&gt;&lt;BR /&gt;1021,S002,1003,&lt;SPAN&gt;44,710,000&lt;/SPAN&gt;&lt;BR /&gt;1021,S003,1003,0&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 06:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536341#M108659</guid>
      <dc:creator>shweta26</dc:creator>
      <dc:date>2025-11-17T06:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536365#M108661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/157134"&gt;@shweta26&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to reproduce this issue on my end in order to help you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the data sample attached refers to what you are obtaining or what you expect to obtain?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you, please, attach the raw data also?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 12:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536365#M108661</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2025-11-17T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536420#M108673</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(Aggr(Count(DISTINCT [Seller Limit ID]), [Seller GCIN]) = 1,&lt;BR /&gt;&lt;BR /&gt;num( Min({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt={1},Flag_Capt={1}&amp;gt;} [Seller Limit]), '#,##0'),&lt;BR /&gt;&lt;BR /&gt;num(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Sum(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Aggr(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Only({&amp;lt;Month,Year,YearMonth,MonthNum,DateNum ={"$(vMaxDateNum)"},Flag_Lopt=&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {1},Flag_Capt={1}&amp;gt;} [Seller Limit]),&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Seller GCIN],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[Seller Limit ID]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp;'#,##0'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 07:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536420#M108673</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2025-11-18T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in total of  Straight table</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536653#M108708</link>
      <description>&lt;P&gt;Hello Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. Attached new sample data excel with expected output sheet and original data sheet.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 16:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-total-of-Straight-table/m-p/2536653#M108708</guid>
      <dc:creator>shweta26</dc:creator>
      <dc:date>2025-11-19T16:30:52Z</dc:date>
    </item>
  </channel>
</rss>

