<?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: Load Inline Table Formula Help in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527175#M107345</link>
    <description>&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/334743"&gt;@Amit_Prajapati&lt;/a&gt;&amp;nbsp; we should see something like below. &lt;/FONT&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202502&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;D&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;912&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202311&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;C&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;551&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202203&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;B&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;682&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202104&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;A&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;668&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;we need to tell chatGpt for a clear answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2025 08:50:05 GMT</pubDate>
    <dc:creator>Kaushik2020</dc:creator>
    <dc:date>2025-08-13T08:50:05Z</dc:date>
    <item>
      <title>Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527095#M107337</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an inline table with the following data: Product Code, Period, and Total.&lt;/P&gt;&lt;P&gt;TempData:&lt;BR /&gt;LOAD*&lt;BR /&gt;INLINE [&lt;BR /&gt;Cod_Product, Period, Total&lt;BR /&gt;A, 202004, 675&lt;BR /&gt;A, 202007, 646&lt;BR /&gt;A, 202104, 668&lt;BR /&gt;A, 202404, 570&lt;BR /&gt;B, 202108, 901&lt;BR /&gt;B, 202008, 955&lt;BR /&gt;B, 202504, 597&lt;BR /&gt;B, 202203, 682&lt;BR /&gt;C, 202511, 135&lt;BR /&gt;C, 202311, 551&lt;BR /&gt;C, 202510, 292&lt;BR /&gt;C, 202001, 867&lt;BR /&gt;D, 202502, 912&lt;BR /&gt;D, 202202, 126&lt;BR /&gt;D, 201805, 681&lt;BR /&gt;D, 202507, 406&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I would like to know if you can help me find the formula that calculates the maximum periods per product, regardless of which period I select in the filter. For example:&lt;/P&gt;&lt;P&gt;Example if I choose 202502&lt;BR /&gt;202502 D&lt;BR /&gt;202311 C&lt;BR /&gt;202203 B&lt;BR /&gt;202104 A&lt;/P&gt;&lt;P&gt;Example if I choose 202203&lt;BR /&gt;202202 D&lt;BR /&gt;202001 C&lt;BR /&gt;202203 B&lt;BR /&gt;202104 A&lt;/P&gt;&lt;P&gt;Example if I choose 202008&lt;BR /&gt;201805 D&lt;BR /&gt;202001 C&lt;BR /&gt;202008 B&lt;BR /&gt;202007 A&lt;/P&gt;&lt;P&gt;Example with no period selected&lt;/P&gt;&lt;P&gt;202507 D&lt;BR /&gt;202511 C&lt;BR /&gt;202504 B&lt;BR /&gt;202404 A&lt;/P&gt;&lt;P&gt;And when this is done, I want the total sum of those maximum periods to appear.&lt;/P&gt;&lt;P&gt;I attach an Excel file for better understanding.&lt;/P&gt;&lt;P&gt;Thank you!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 00:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527095#M107337</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-13T00:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527140#M107341</link>
      <description>&lt;P&gt;Hi Just try with below one&lt;BR /&gt;&lt;BR /&gt;TempData:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Cod_Product, Period, Total&lt;BR /&gt;A, 202004, 675&lt;BR /&gt;A, 202007, 646&lt;BR /&gt;A, 202104, 668&lt;BR /&gt;A, 202404, 570&lt;BR /&gt;B, 202108, 901&lt;BR /&gt;B, 202008, 955&lt;BR /&gt;B, 202504, 597&lt;BR /&gt;B, 202203, 682&lt;BR /&gt;C, 202511, 135&lt;BR /&gt;C, 202311, 551&lt;BR /&gt;C, 202510, 292&lt;BR /&gt;C, 202001, 867&lt;BR /&gt;D, 202502, 912&lt;BR /&gt;D, 202202, 126&lt;BR /&gt;D, 201805, 681&lt;BR /&gt;D, 202507, 406&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;MaxPeriodPerProduct:&lt;BR /&gt;LOAD&lt;BR /&gt;Cod_Product,&lt;BR /&gt;Max(Period) as Max_Period&lt;BR /&gt;RESIDENT TempData&lt;BR /&gt;GROUP BY Cod_Product;&lt;/P&gt;
&lt;P&gt;JOIN (MaxPeriodPerProduct)&lt;BR /&gt;LOAD&lt;BR /&gt;Cod_Product,&lt;BR /&gt;Period as Max_Period,&lt;BR /&gt;Total as Max_Total&lt;BR /&gt;RESIDENT TempData;&lt;/P&gt;
&lt;P&gt;MaxPeriodTotalSummary:&lt;BR /&gt;LOAD&lt;BR /&gt;Sum(Max_Total) as Total_Max_Periods&lt;BR /&gt;RESIDENT MaxPeriodPerProduct;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I'm getting below output for the period 202502&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amit_Prajapati_0-1755060535685.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182813i19FBA61C25310126/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amit_Prajapati_0-1755060535685.png" alt="Amit_Prajapati_0-1755060535685.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 04:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527140#M107341</guid>
      <dc:creator>Amit_Prajapati</dc:creator>
      <dc:date>2025-08-13T04:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527175#M107345</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/334743"&gt;@Amit_Prajapati&lt;/a&gt;&amp;nbsp; we should see something like below. &lt;/FONT&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202502&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;D&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;912&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202311&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;C&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;551&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202203&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;B&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;682&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;202104&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;A&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;668&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;we need to tell chatGpt for a clear answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 08:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527175#M107345</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2025-08-13T08:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527176#M107346</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;if you are using a table then use &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" color="#003366"&gt;dimension as cod_Product || Measure Period :&amp;nbsp; =Max(TOTAL &amp;lt;Cod_Product&amp;gt;{&amp;lt;Period = {"&amp;lt;=$(=Alt(Only(Period), Max(TOTAL Period)))"}&amp;gt;} Period)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 08:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527176#M107346</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2025-08-13T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527226#M107362</link>
      <description>&lt;P&gt;Hello, thanks for the response. I think there might be a mistake, could it be? Look: if I don’t filter anything, it should show for 202507 and code D the number 406. D, 202507, 406 for C = 135, etc.&lt;BR /&gt;Now, if I filter July 2025, it should show July 2025 for D = 406, for C = 551, for B = 597, and for A = 570.&lt;BR /&gt;This is because, according to what I’m filtering, it should return the maximum periods for each code. Since I filtered July 2025, October and November 2025 and the codes associated with those periods should no longer be considered.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 13:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527226#M107362</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-13T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527247#M107367</link>
      <description>&lt;P&gt;Your question and examples seem to contradict each other.&lt;/P&gt;&lt;P&gt;You asked how you can calculate "&lt;SPAN&gt;&lt;EM&gt;maximum periods per product, &lt;STRONG&gt;regardless of which period I select&lt;/STRONG&gt;&lt;/EM&gt;". In other words,&amp;nbsp;&lt;STRONG&gt;no matter what period you select&lt;/STRONG&gt;, the maximum period per product should always be shown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The maximum period for product &lt;STRONG&gt;A&lt;/STRONG&gt;, for example, is&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;202404&lt;/STRONG&gt;. So &lt;STRONG&gt;no matter what period you select&lt;/STRONG&gt; product A should &lt;STRONG&gt;always show&amp;nbsp;202404&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, in the examples you select periods and different period (not maximum) is shows for each product. The examples then suggest that period selections are &lt;STRONG&gt;considered&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which one&lt;/STRONG&gt; are you looking for? For selections to be &lt;STRONG&gt;considered&lt;/STRONG&gt; or &lt;STRONG&gt;not considered&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 16:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527247#M107367</guid>
      <dc:creator>howdash</dc:creator>
      <dc:date>2025-08-13T16:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527281#M107370</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/132875"&gt;@pgalvezt2021&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about this ways?&lt;/P&gt;&lt;P&gt;when you are selected one values from filter panel, the table values is changed.&lt;/P&gt;&lt;P&gt;I am using the max (), getfieldselections() functions and vPeriod variable.&lt;/P&gt;&lt;P&gt;vPeriod : GetFieldSelections(Period)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_0-1755144847606.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182851i01745FBCF5EEFA3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanna_choi_0-1755144847606.png" alt="hanna_choi_0-1755144847606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_1-1755144937327.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182852iEDE74130847031F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanna_choi_1-1755144937327.png" alt="hanna_choi_1-1755144937327.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 04:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527281#M107370</guid>
      <dc:creator>hanna_choi</dc:creator>
      <dc:date>2025-08-14T04:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527334#M107374</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The maximum period for product A, for example, is 202404. So, regardless of which period you select, product A should always display 202404.&lt;BR /&gt;&lt;STRONG&gt;R:&lt;/STRONG&gt; Everything is correct as you mentioned. However, for example, if I select 202401, then 202404 would no longer be the maximum period, and therefore A should return the maximum period corresponding to 668, but the formula gives 675 instead. In the Excel file, I show you the example.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 12:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527334#M107374</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-14T12:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527338#M107376</link>
      <description>&lt;P&gt;Hi, thanks for your response!!! Let me explain: For the filter you applied, Qlik should show the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Filter:&lt;/STRONG&gt; 202502&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;For code A, it should display &lt;STRONG&gt;570&lt;/STRONG&gt;, as it is the maximum period for A according to the current selection, which is 202502.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For code B, it should display &lt;STRONG&gt;682&lt;/STRONG&gt;, corresponding to period 202203.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For code C, it should display &lt;STRONG&gt;551&lt;/STRONG&gt;, corresponding to the maximum period according to your filter, which would be 202311.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For code D, it should display &lt;STRONG&gt;912&lt;/STRONG&gt;, as it corresponds to the maximum period based on your selection.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 14 Aug 2025 13:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527338#M107376</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-14T13:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527339#M107377</link>
      <description>&lt;P&gt;Hi, I forgot to mention that the periods shown by the formula are correct according to the filter I apply; the issue is that it does not display the totals associated with those maximum periods.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 13:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527339#M107377</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-14T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527348#M107378</link>
      <description>&lt;P&gt;I see. So you want the selections to be ignored but not always. It's kind of like using the period field to specify the the maximum period limit. That makes sense.&lt;/P&gt;&lt;P&gt;What values do you expect to see for &lt;STRONG&gt;A&lt;/STRONG&gt;, &lt;STRONG&gt;B&lt;/STRONG&gt;, and &lt;STRONG&gt;C&lt;/STRONG&gt; when &lt;STRONG&gt;201805&lt;/STRONG&gt; is selected? A, B, and C don't have a period that is less than or equal to 201805.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 14:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527348#M107378</guid>
      <dc:creator>howdash</dc:creator>
      <dc:date>2025-08-14T14:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527356#M107379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Rule 1: If I do not select any period as a filter, the table should display the maximum periods per code.&lt;BR /&gt;Rule 2: If I select any period, Qlik should display in the table the maximum period according to the selection I made for the corresponding code, and also the other codes with their maximum periods.&lt;/P&gt;&lt;P&gt;For &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; 201805, 681. And nothing else.&lt;/P&gt;&lt;P&gt;But imagine there is a code A with two periods, 201801 and 201802. Qlik should display D with value 681 and A with value X for 201802.&lt;/P&gt;&lt;P&gt;Hopefully that makes sense. Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 15:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527356#M107379</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-14T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527380#M107380</link>
      <description>&lt;P&gt;&lt;FONT size="5"&gt;Video&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Solution is below and the video demoes the solution and how it works.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FX6BfenqYCsU%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DX6BfenqYCsU&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FX6BfenqYCsU%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Finding Total for Max Period per Product" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Solution&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;As for the solution, try this &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Script&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// load data and create a field to map Totals to Product and Period
TempData:
LOAD *,
	AutoNumber(Cod_Product &amp;amp; '|' &amp;amp; Period)	as key
INLINE [
Cod_Product, Period, Total
A, 202004, 675
A, 202007, 646
A, 202104, 668
A, 202404, 570
B, 202108, 901
B, 202008, 955
B, 202504, 597
B, 202203, 682
C, 202511, 135
C, 202311, 551
C, 202510, 292
C, 202001, 867
D, 202502, 912
D, 202202, 126
D, 201805, 681
D, 202507, 406
];


mapProductPeriodToTotal:
Mapping
Load key,
	Total
Resident TempData
;

// loop trough each period to find max Period per product
For Each vPeriod in FieldValueList('Period')

	maxValues_temp:
    Load '$(vPeriod)'								as Period,
    	Cod_Product									as MaxCod_Product,
    	Max(Period)									as MaxPeriod
    Resident TempData
       Where Period &amp;lt;= $(vPeriod)
    Group By Cod_Product
    ;

Next vPeriod


// map Totals to product and Max Period within a period
maxValues:
Load Period,
	MaxCod_Product,
	MaxPeriod,
    ApplyMap(
    	'mapProductPeriodToTotal',
        AutoNumber(MaxCod_Product &amp;amp; '|' &amp;amp; MaxPeriod),
        Null()
        )											as MaxPeriodTotal
Resident maxValues_temp
Order By Period,
	MaxCod_Product
;

Drop Table maxValues_temp;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will create a table that will have &lt;STRONG&gt;max period&lt;/STRONG&gt; and &lt;STRONG&gt;corresponding total&lt;/STRONG&gt;&amp;nbsp;for each period and product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Frontend&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;On the frontend,&lt;STRONG&gt; add a Filter Pane&lt;/STRONG&gt; with &lt;STRONG&gt;Period&lt;/STRONG&gt; as the dimension. Then &lt;STRONG&gt;add a table&lt;/STRONG&gt; with MaxCod_Product, MaxPeriod, and MaxPeriodTotal dimensions.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;When user will select a period, the table will update to show max Period and corresponding Total for selected period.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Limitation&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The only thing that this solution won't do is show the max Period and Total per product &lt;STRONG&gt;when no Period is selected&lt;/STRONG&gt;. A way to work around that is to enable &lt;STRONG&gt;Always One Value Selected&lt;/STRONG&gt; setting for &lt;STRONG&gt;Period&lt;/STRONG&gt; field and select a max period. Or have a &lt;STRONG&gt;bookmark&lt;/STRONG&gt; that will trigger when an app is opened and automatically select the max available Period for user.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 19:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527380#M107380</guid>
      <dc:creator>howdash</dc:creator>
      <dc:date>2025-08-14T19:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load Inline Table Formula Help</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527381#M107381</link>
      <description>&lt;P&gt;Hi!!!!&lt;/P&gt;&lt;P&gt;The solution you described in the post is exactly what I was looking for!!! So thank you so much, and I’m glad the requirement was understood, because honestly, at the beginning it was a bit confusing to explain (at least I think so). So, many thanks, howdash!!!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 19:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Inline-Table-Formula-Help/m-p/2527381#M107381</guid>
      <dc:creator>pgalvezt2021</dc:creator>
      <dc:date>2025-08-14T19:49:20Z</dc:date>
    </item>
  </channel>
</rss>

