<?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 Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519824#M106338</link>
    <description>&lt;P&gt;can you try adding CompanyID to the intervalmatch?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_match:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IntervalMatch(account_num,company_id)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; LOAD start_account,end_account,&lt;SPAN&gt;company_id&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 02 Jun 2025 15:52:52 GMT</pubDate>
    <dc:creator>-SW-</dc:creator>
    <dc:date>2025-06-02T15:52:52Z</dc:date>
    <item>
      <title>Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2518051#M106024</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently in the process of migrating an existing QlikView application to Qlik Sense. One part of the script involves using IntervalMatch() to map account numbers to predefined level 3 ranges for account grouping.&lt;/P&gt;&lt;P&gt;However, after the migration, I’m facing an issue where Qlik Sense only returns the field names, but no actual data is shown in the resulting table (even though the script executes without error).&lt;/P&gt;&lt;P&gt;What I’ve done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Recreated the exact logic from QlikView using the same QVD files.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verified the data is present by previewing the individual source tables (accounts, intervals).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Tried both INNER JOIN and LEFT JOIN around IntervalMatch() but the result is the same – no rows.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What seems strange:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The exact same script with IntervalMatch &lt;STRONG&gt;works in QlikView&lt;/STRONG&gt;, but fails silently in Qlik Sense.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;It appears to load structure (columns) but no content.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone experienced similar behavior with IntervalMatch() after migrating to Qlik Sense? Are there best practices or known differences I should be aware of?&lt;/P&gt;&lt;P&gt;I’ll attach a simplified part of the script to clarify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Sub Formulate_Account_Grouping&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Actually we want to group accounts by 4 levels or categories&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;starting from level 3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;these are the accounts that we want per company&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;account_level:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD distinct&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMAID as account_row_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMCO as company_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMOBJ as account_num&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[lib://QVD/Tables/PRODDTA.F0901.qvd]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(qvd)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;where&amp;nbsp; GMCO &amp;lt;&amp;gt; 99999&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and wildmatch(GMLDA ,6,7,8)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and (GMPEC &amp;lt;&amp;gt; 'N' or GMOBJ=4999);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//and GMPEC &amp;lt;&amp;gt; 'N';&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/*************************************************************************************************/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let's formulate the starting level which is level 3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_acc_level_3:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD distinct&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMCO as company_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMOBJ as acc_num_3,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMDL01 as acc_level_3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from [lib://QVD /Tables/PRODDTA.F0901.qvd]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(qvd)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;where&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GMCO &amp;lt;&amp;gt; 99999&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and&amp;nbsp; GMLDA = 3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and GMPEC = 'N';&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_acc_level_3_2:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NoConcatenate&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD * Resident temp_acc_level_3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Order by company_id asc,acc_num_3 desc;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_acc_level_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_acc_level_3_3:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; company_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_level_3,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_num_3,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_num_3 as start_account,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(RowNo() = 1 or company_id &amp;lt;&amp;gt; Previous(company_id),99999,Peek(start_account) -1 ) as end_account&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_acc_level_3_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_match:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IntervalMatch(account_num)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; LOAD start_account,end_account&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INNER JOIN(account_level)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD * Resident temp_match;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_match;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INNER JOIN(account_level)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD start_account,end_account, acc_level_3,company_id,acc_num_3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;drop fields start_account,end_account;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Would greatly appreciate your input. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 12:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2518051#M106024</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-05-16T12:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519395#M106251</link>
      <description>&lt;P&gt;I have encountered similar problems before and in my case it was how Qlik Sense was referring my fields as text as opposed to numbers. Can you try and force all relevant fields with Num() and try again?&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 22:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519395#M106251</guid>
      <dc:creator>-SW-</dc:creator>
      <dc:date>2025-05-28T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519475#M106265</link>
      <description>&lt;P&gt;Thank you for your reply, but I have already tried it and still didn’t work.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 13:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519475#M106265</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-05-29T13:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519480#M106267</link>
      <description>&lt;P&gt;I have not seen an issue with the interval match it should work the same (And has for me).&lt;/P&gt;&lt;P&gt;I have seen different behaviour on the Peek or Previous (Previous I believe, sorry can't remember).&lt;/P&gt;&lt;P&gt;I would check this table is getting created as expected&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_acc_level_3_3:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; company_id,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_level_3,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_num_3,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;acc_num_3 as start_account,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if(RowNo() = 1 or company_id &amp;lt;&amp;gt; Previous(company_id),99999,Peek(start_account) -1 ) as end_account&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_acc_level_3_2;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 13:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519480#M106267</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2025-05-29T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519669#M106306</link>
      <description>&lt;P&gt;Reading your code:&lt;/P&gt;&lt;P&gt;1 - Order by your code here:&lt;/P&gt;&lt;P&gt;temp_acc_level_3_3:&lt;BR /&gt;LOAD&lt;BR /&gt;company_id,&lt;BR /&gt;acc_level_3,&lt;BR /&gt;acc_num_3,&lt;BR /&gt;acc_num_3 as start_account,&lt;BR /&gt;if(RowNo() = 1 or company_id &amp;lt;&amp;gt; Previous(company_id),99999,Peek(start_account) -1 ) as end_account&lt;BR /&gt;Resident temp_acc_level_3_2&lt;/P&gt;&lt;P&gt;Order by&amp;nbsp;company_id ,&amp;nbsp;acc_num_3&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 - Reload all tables, checking DataTypes of each field to avoid mistakes with math operations in Where Clause&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Mon, 02 Jun 2025 01:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519669#M106306</guid>
      <dc:creator>rafaelencinas</dc:creator>
      <dc:date>2025-06-02T01:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519765#M106326</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Thank you for your reply. The issue lies with this table: as you can see, the table is returning zeros. I have tried nearly everything, but I still am not getting any data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_0-1748860912679.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180958i2ABE2FD0CD6D501B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_0-1748860912679.png" alt="MarioGabriel_0-1748860912679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 10:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519765#M106326</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-06-02T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519768#M106327</link>
      <description>&lt;P&gt;can you show some example values of&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;account_num in one table and&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;start_account,end_account&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in another table?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Jun 2025 11:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519768#M106327</guid>
      <dc:creator>-SW-</dc:creator>
      <dc:date>2025-06-02T11:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519807#M106334</link>
      <description>&lt;P&gt;Hello. Here are the two tables: the start_account column is interpreted as text (tagged $ascii $text), while end_account is numeric but displays many “–” entries (nulls).&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_0-1748872997932.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180965i486580DEC7CC78BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_0-1748872997932.png" alt="MarioGabriel_0-1748872997932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_1-1748873016506.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180966i570D864CF0230AD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_1-1748873016506.png" alt="MarioGabriel_1-1748873016506.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_2-1748873043336.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180967iE40835226ECFCC6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_2-1748873043336.png" alt="MarioGabriel_2-1748873043336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 14:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519807#M106334</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-06-02T14:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519809#M106335</link>
      <description>&lt;P&gt;Thank you Rafael for the suggestion. I did add the ORDER BY company_id, acc_num_3 clause to the resident load exactly as you showed, but the end_account values are still not lining up the way I expect. I also reloaded everything and verified that company_id and acc_num_3 are numeric, so the sort should work but it isn’t.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 14:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519809#M106335</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-06-02T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519824#M106338</link>
      <description>&lt;P&gt;can you try adding CompanyID to the intervalmatch?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;temp_match:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IntervalMatch(account_num,company_id)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; LOAD start_account,end_account,&lt;SPAN&gt;company_id&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Jun 2025 15:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519824#M106338</guid>
      <dc:creator>-SW-</dc:creator>
      <dc:date>2025-06-02T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519914#M106349</link>
      <description>&lt;P&gt;I have tried it, but temp_match is still zero. I’ve attached my adjusted script. The table is now showing, but for example as you can see, the level 4 account should be connected to the level 3 account. I should see “Current Assets” and “Fixed Assets” here, rather than what’s currently displayed. Again, thank you for your help.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sub Formulate_Account_Grouping&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;account_level:&lt;/DIV&gt;&lt;DIV&gt;LOAD distinct&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMAID as account_row_id,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMCO as company_id,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMOBJ as account_num&lt;/DIV&gt;&lt;DIV&gt;FROM [lib://QVD /Tables/PRODDTA.F0901.qvd] (qvd)&lt;/DIV&gt;&lt;DIV&gt;WHERE GMCO &amp;lt;&amp;gt; 99999&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; AND wildmatch(GMLDA, 6, 7,8&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; AND (GMPEC &amp;lt;&amp;gt; 'N' OR GMOBJ = 4999);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;temp_acc_level_3:&lt;/DIV&gt;&lt;DIV&gt;LOAD distinct&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMCO as company_id,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMOBJ as acc_num_3,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; GMDL01 as acc_level_3&lt;/DIV&gt;&lt;DIV&gt;FROM&amp;nbsp; [lib://QVD/Tables/PRODDTA.F0901.qvd] (qvd)&lt;/DIV&gt;&lt;DIV&gt;WHERE GMCO &amp;lt;&amp;gt; 99999 AND GMLDA = 3 AND GMPEC = 'N';&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;temp_acc_level_3_2:&lt;/DIV&gt;&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;&lt;DIV&gt;LOAD * RESIDENT temp_acc_level_3&lt;/DIV&gt;&lt;DIV&gt;ORDER BY company_id ASC, acc_num_3 DESC;&lt;/DIV&gt;&lt;DIV&gt;DROP TABLE temp_acc_level_3;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;temp_acc_level_3_3:&lt;/DIV&gt;&lt;DIV&gt;LOAD&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; company_id,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; acc_level_3,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; acc_num_3,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; acc_num_3 AS start_account,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;IF(RowNo() = 1 OR company_id &amp;lt;&amp;gt; Previous(company_id), 99999, Peek(start_account) - 1) AS end_account&lt;/DIV&gt;&lt;DIV&gt;RESIDENT temp_acc_level_3_2&lt;/DIV&gt;&lt;DIV&gt;Order by company_id, acc_num_3 ;&lt;/DIV&gt;&lt;DIV&gt;DROP TABLE temp_acc_level_3_2;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;// debug_account_ranges:&lt;/DIV&gt;&lt;DIV&gt;// LOAD&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;company_id,&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;acc_num_3,&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;acc_level_3,&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;start_account,&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;end_account&lt;/DIV&gt;&lt;DIV&gt;// RESIDENT temp_acc_level_3_3;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;temp_match:&lt;/DIV&gt;&lt;DIV&gt;intervalMatch(account_num,company_id)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; LOAD start_account,end_account,company_id&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;RESIDENT temp_acc_level_3_3&lt;/DIV&gt;&lt;DIV&gt;Order by company_id, acc_num_3;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;INNER JOIN (account_level)&lt;/DIV&gt;&lt;DIV&gt;LOAD&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; start_account,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; end_account,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; acc_level_3,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; company_id,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; acc_num_3&lt;/DIV&gt;&lt;DIV&gt;RESIDENT temp_acc_level_3_3;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DROP TABLE temp_match;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INNER JOIN(account_level)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOAD start_account,end_account, acc_level_3,company_id,acc_num_3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Resident temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop Table temp_acc_level_3_3;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; drop fields start_account,end_account;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;store account_level into [lib://QVD /Test/account_level_test.qvd](qvd);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop table account_level;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ENDSUB&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_1-1748942801149.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180991iBB5D29FCB1304BE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_1-1748942801149.png" alt="MarioGabriel_1-1748942801149.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="MarioGabriel_0-1748942609331.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180990i23358724E4C39F54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_0-1748942609331.png" alt="MarioGabriel_0-1748942609331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 09:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519914#M106349</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-06-03T09:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519925#M106351</link>
      <description>&lt;P&gt;I read you code and noticed :&lt;/P&gt;&lt;P&gt;GMCO , GMOBJ , GMDL01 in Database Definition are String.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interval Match only works with Numeric Values,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The field containing the discrete numeric values to be linked to intervals.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/IntervalMatch.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/IntervalMatch.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check again in you DataModel if the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;account_num (GMOBJ) &lt;/EM&gt;&lt;/STRONG&gt;is numeric&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rafaelencinas_0-1748946296801.png" style="width: 673px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180993i87DC656F14ED05BF/image-dimensions/673x162?v=v2" width="673" height="162" role="button" title="rafaelencinas_0-1748946296801.png" alt="rafaelencinas_0-1748946296801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or better, you can provide some data with Load Inline Tables to evaluate better you case&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 10:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2519925#M106351</guid>
      <dc:creator>rafaelencinas</dc:creator>
      <dc:date>2025-06-03T10:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Migrating IntervalMatch from QlikView to Qlik Sense – Only Field Names, No Data Returned</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2520046#M106358</link>
      <description>&lt;P&gt;Thank you, Rafael. I had already used the Num function, but it didn’t work until I tried Num#. Now I have changed my script to the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Load Level 4+ accounts that need to be mapped to Level 3&lt;BR /&gt;account_level:&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt;GMAID as account_row_id,&lt;BR /&gt;Num#(GMCO) as company_id,&lt;BR /&gt;Num#(GMOBJ) as account_num&lt;BR /&gt;FROM [lib://QVD/Tables/PRODDTA.F0901.qvd] (qvd)&lt;BR /&gt;WHERE GMCO &amp;lt;&amp;gt; 99999&lt;BR /&gt;AND WildMatch(GMLDA, '6', '7', '8')&lt;BR /&gt;AND (GMPEC &amp;lt;&amp;gt; 'N' OR GMOBJ = 4999);&lt;/P&gt;&lt;P&gt;// Load Level 3 accounts with their descriptions&lt;BR /&gt;temp_acc_level_3:&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt;Num#(GMCO) as company_id,&lt;BR /&gt;Num#(GMOBJ) as acc_num_3,&lt;BR /&gt;Num#(GMDL01) as acc_level_3&lt;BR /&gt;FROM [lib://QVD/Tables/PRODDTA.F0901.qvd] (qvd)&lt;BR /&gt;WHERE GMCO &amp;lt;&amp;gt; 99999&lt;BR /&gt;AND GMLDA = 3&lt;BR /&gt;AND GMPEC = 'N';&lt;/P&gt;&lt;P&gt;// Sort by company and account number&amp;nbsp;&lt;BR /&gt;temp_acc_level_3_2:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT temp_acc_level_3&lt;BR /&gt;ORDER BY company_id ASC, acc_num_3 desc;&lt;BR /&gt;DROP TABLE temp_acc_level_3;&lt;/P&gt;&lt;P&gt;// Create ranges for each Level 3 account&lt;BR /&gt;temp_acc_level_3_3:&lt;BR /&gt;LOAD&lt;BR /&gt;company_id,&lt;BR /&gt;acc_level_3,&lt;BR /&gt;acc_num_3,&lt;BR /&gt;acc_num_3 AS start_account,&lt;BR /&gt;if(RowNo() = 1 or company_id &amp;lt;&amp;gt; Previous(company_id),99999,Peek(start_account) -1 ) as end_account&lt;BR /&gt;RESIDENT temp_acc_level_3_2&lt;BR /&gt;ORDER BY company_id ASC, acc_num_3 desc;&lt;BR /&gt;DROP TABLE temp_acc_level_3_2;&lt;/P&gt;&lt;P&gt;// Create IntervalMatch for Level 3&lt;BR /&gt;temp_match:&lt;BR /&gt;IntervalMatch(account_num, company_id)&lt;BR /&gt;LOAD&lt;BR /&gt;start_account,&lt;BR /&gt;end_account,&lt;BR /&gt;company_id&lt;BR /&gt;RESIDENT temp_acc_level_3_3;&lt;/P&gt;&lt;P&gt;// Join the interval match results to account_level&lt;BR /&gt;LEFT JOIN(account_level)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT temp_match;&lt;BR /&gt;DROP TABLE temp_match;&lt;/P&gt;&lt;P&gt;// Join the Level 3 details&lt;BR /&gt;LEFT JOIN(account_level)&lt;BR /&gt;LOAD&lt;BR /&gt;start_account,&lt;BR /&gt;end_account,&lt;BR /&gt;acc_level_3,&lt;BR /&gt;company_id,&lt;BR /&gt;acc_num_3&lt;BR /&gt;RESIDENT temp_acc_level_3_3;&lt;BR /&gt;DROP TABLE temp_acc_level_3_3;&lt;/P&gt;&lt;P&gt;// Clean up temporary fields&lt;BR /&gt;DROP FIELDS start_account, end_account;&lt;/P&gt;&lt;P&gt;The script is now working as it should. I really appreciate everyone’s help. Thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarioGabriel_0-1749021415212.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181022iD64F9E14019C00CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarioGabriel_0-1749021415212.png" alt="MarioGabriel_0-1749021415212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 07:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-Migrating-IntervalMatch-from-QlikView-to-Qlik-Sense-Only/m-p/2520046#M106358</guid>
      <dc:creator>MarioGabriel</dc:creator>
      <dc:date>2025-06-04T07:31:40Z</dc:date>
    </item>
  </channel>
</rss>

