<?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: Faster way to remove orphan fields from data model in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537771#M108863</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;, thanks for your reply. As I said, these fields are not being used anywhere in the data model. neither in any calculations nor in any key generation for table linking. these are completely orphan useless fields which are unnecessarily increasing the load time of the model.&lt;/P&gt;&lt;P&gt;Anyways, I guess I will have to do the removal manually since I cannot use a loop for dropping them as it would require them to load in the memory first. Thanks for the help anyways.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2025 07:02:21 GMT</pubDate>
    <dc:creator>Aditya_Chitale</dc:creator>
    <dc:date>2025-12-02T07:02:21Z</dc:date>
    <item>
      <title>Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537614#M108852</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am working with a large Qlik sense data model where we have huge number of orphan fields which are not being used in frontend charts as well as not used anywhere for linking of tables or calculations in the load script.&lt;/P&gt;&lt;P&gt;I want to remove those fields from the data model to improve performance. Since the number of such fields is very high, is there any faster way or any shortcut method to remove those fields ? I can't keep on removing the fields manually one by one as it is taking a lot of time.&lt;/P&gt;&lt;P&gt;Any help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2025 11:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537614#M108852</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-11-30T11:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537619#M108853</link>
      <description>&lt;P&gt;QSDA Pro is a tool with this capability&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2025 20:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537619#M108853</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2025-11-30T20:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537620#M108854</link>
      <description>&lt;P&gt;And also this extension can help you too&amp;nbsp;&amp;nbsp;&lt;A href="https://www.regarden.io/extensions/3170c06d-0cbb-462f-a3e6-5303f9763249" target="_blank"&gt;https://www.regarden.io/extensions/3170c06d-0cbb-462f-a3e6-5303f9763249&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Nov 2025 20:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537620#M108854</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2025-11-30T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537635#M108855</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6144"&gt;@pablolabbe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already used the Qollect extension but cannot see option to auto remove orphan fields. Although it gives a list of used and unused fields.&lt;/P&gt;&lt;P&gt;I want to remove the un used fields from the load script but not manually.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 05:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537635#M108855</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-12-01T05:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537640#M108856</link>
      <description>&lt;P&gt;Such a list of fields might be used within a loop at the end of the scripts to drop these fields.&lt;/P&gt;&lt;P&gt;More automation is probably quite difficult because it would require to read all scripts within all layers and then adding appropriate drop-statements respectively much more preferable to avoid already their loading. A manipulating of the scripts from the outside is probably possible but surely not trivial. Be further aware that fields which have no usage within the UI might be used for any temporary calculations/matching within the ETL.&lt;/P&gt;&lt;P&gt;Therefore I doubt that there is a sensible way to apply an automation else more pragmatic would be to do it manually and this pain will be helpful to avoid such struggle in the next time by loading everything explicitly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 08:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537640#M108856</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-12-01T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537643#M108857</link>
      <description>&lt;P&gt;Hi you can check this&lt;/P&gt;&lt;P&gt;1. Schedule the Document Analyzer app to run after your main app reload.&lt;BR /&gt;2. Use its generated QVDs to identify unused fields.&lt;BR /&gt;3. Load the unused fields list into your app script.&lt;BR /&gt;4. Loop through the list and DROP FIELD each unused field dynamically.&lt;BR /&gt;5. Optionally, log dropped fields for governance tracking.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is snippet for ref.&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;UnusedFields:
LOAD
FieldName,
AppName,
'Unused' as FieldStatus
FROM [lib://Governance/DocumentAnalyzer_Fields.qvd] (qvd)
WHERE [FieldState] = 'UNUSED' // This depends on your DA structure
AND [AppName] = 'MyAppName';


FOR i = 0 TO NoOfRows('UnusedFields') - 1
LET vField = Peek('FieldName', $(i), 'UnusedFields');
TRACE Dropping unused field: $(vField);
DROP FIELD [$(vField)] FROM *;
NEXT i&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 08:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537643#M108857</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-12-01T08:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537771#M108863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;, thanks for your reply. As I said, these fields are not being used anywhere in the data model. neither in any calculations nor in any key generation for table linking. these are completely orphan useless fields which are unnecessarily increasing the load time of the model.&lt;/P&gt;&lt;P&gt;Anyways, I guess I will have to do the removal manually since I cannot use a loop for dropping them as it would require them to load in the memory first. Thanks for the help anyways.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 07:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537771#M108863</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-12-02T07:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537772#M108864</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/422"&gt;@HirisH_V7&lt;/a&gt;&amp;nbsp;, I cannot use this approach as it would require the fields to load into memory first before dropping them. my purpose of removing these fields was to reduce loading time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 07:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537772#M108864</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2025-12-02T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537780#M108865</link>
      <description>&lt;P&gt;Best possible Solution would be doing a binary load for final app and doing the dropping at end of it. This way the current app reload time would be less and only required fields would be their in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Else, other work around would be to create a transformation layer with limited fields (which are inline with metadata extracted previously) loaded into QVD's. Then those QVD's sourced into main app.&lt;/P&gt;&lt;P&gt;As per you ask, some or other way we should get meta data of which fields are being used and not. Then only dropping or commenting can be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 08:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537780#M108865</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-12-02T08:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537791#M108867</link>
      <description>&lt;P&gt;You may try to reverse the above QSDA approach by evaluating the existing fields against the unused ones to get the necessary fields. These field-list could be then used to load from the data-base which means that all wanted fields are explicitly listed within the load/select-statement (which is a recommended best-practice approach).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 09:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537791#M108867</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-12-02T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537801#M108869</link>
      <description>&lt;P&gt;Since you're not interested in just dropping the fields at the end of the script, I would say there's no good approach other than doing it manually. The fact that a field is orphaned at the end of the script doesn't mean it isn't doing something during the load process, meaning you'll have to evaluate each one by hand and confirm it can be safely removed. Otherwise, you could end up removing fields temporarily used for conditions, joins, etc. during the script load process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 11:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2537801#M108869</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-12-02T11:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Faster way to remove orphan fields from data model</title>
      <link>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2538012#M108890</link>
      <description>&lt;P&gt;Using the QSDA Pro script generator tool you can either generate a DROP FIELDS statement for unused fields or LOAD statements with commented fieldnames if you want to avoid loading the unused fields altogether.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rwunderlich_0-1764787182250.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185448i2825670E852C8CF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rwunderlich_0-1764787182250.png" alt="rwunderlich_0-1764787182250.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="rwunderlich_1-1764787211600.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185449i9C076C85099FC5AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rwunderlich_1-1764787211600.png" alt="rwunderlich_1-1764787211600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 18:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Faster-way-to-remove-orphan-fields-from-data-model/m-p/2538012#M108890</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-12-03T18:40:25Z</dc:date>
    </item>
  </channel>
</rss>

