<?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 Script loading duplicate records in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701718#M63876</link>
    <description>&lt;P&gt;Thanks, I was not aware of this issue. I added another parameter and it solved my issue.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 18:16:22 GMT</pubDate>
    <dc:creator>bruce_sorge</dc:creator>
    <dc:date>2020-05-13T18:16:22Z</dc:date>
    <item>
      <title>Load Script loading duplicate records</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701650#M63874</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Can anyone tell me why this load script is loading duplicate records - like thousands of them? My table only has 7,444 records, but Qlik is loading over 800K records. Obviously this is messing up one of my tables when I select a specific item in a filter, and it gives me multiple results that are all duplicates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[SEARCH_RESULTS_DISPLAY]:&lt;BR /&gt;Load Distinct&lt;BR /&gt;Purgechar(Subfield(SubField(RC_LIST,'|'),'~',1),'.') as [RC_LIST],&lt;BR /&gt;[ABSTRACT_ID] AS [SRDAbstractID],&lt;BR /&gt;[EPA_ID],&lt;BR /&gt;[ABS_TYPE],&lt;BR /&gt;[ABS_TITLE],&lt;BR /&gt;[FUNDING_AMT],&lt;BR /&gt;Date([PROJ_START_DT], 'MMMM-DD-YYYY') as SRDProjectStartDate,&lt;BR /&gt;Date([PROJ_END_DT], 'MMMM-DD-YYYY') as SRDProjectEndDate,&lt;BR /&gt;Date([EXT_END_DT], 'MMMM-DD-YYYY') as SRDProjExtDt,&lt;BR /&gt;[RFA],&lt;BR /&gt;Purgechar(Subfield(SubField(PRI_PI,'|'),'~',1),'.') as PrimaryPI,&lt;BR /&gt;PurgeChar(Subfield(Subfield(CO_PI,'|'),'~',1),'.') as CoPI,&lt;BR /&gt;[RPTS],&lt;BR /&gt;[TOTAL_PUBS],&lt;BR /&gt;[PUBS_JOURNAL],&lt;BR /&gt;[PUBS_BOOKS],&lt;BR /&gt;PurgeChar(SubField(SubField(PRI_INST,'|'),'~',1),'.') as PriInst,&lt;BR /&gt;PurgeChar(SubField(SubField(INST,'|'),'~',1),'.') as Inst,&lt;BR /&gt;PurgeChar(SubField(SubField(PO,'|'),'~',1),'.') as PO,&lt;BR /&gt;PurgeChar(SubField(SubField(PRI_STATE,'|'),'~',1),'.') as PriState,&lt;BR /&gt;STATE,&lt;BR /&gt;PurgeChar(SubField(SubField([PRI_REGION],'|'),'~',1),'.') as PrimaryRegion,&lt;BR /&gt;[REGION],&lt;BR /&gt;PurgeChar(SubField(SubField([PRI_LOCATION],'|'),'~',1),'.') as PrimaryLocation,&lt;BR /&gt;PurgeChar(SubField(SubField([LOCATION],'|'),'~',1),'.') as AltLocation,&lt;BR /&gt;[CONG_DIST],&lt;BR /&gt;[GPRA_GOALS],&lt;BR /&gt;[DEFAULT_SORT_ORDER],&lt;BR /&gt;[SBIR_PHASE] AS [SRDSBIRPhase],&lt;BR /&gt;[CTR_NAME],&lt;BR /&gt;[CTR_DIR_CONTACT_ID],&lt;BR /&gt;[STAR],&lt;BR /&gt;[MAIN_ABSTRACT_ID] AS [SRDMainAbstractID],&lt;BR /&gt;[CONGRESS_MANDATED] AS [SRDCongressMandate],&lt;BR /&gt;[ALTERNATE_EPA_ID] AS [SRDAlternateEPAID],&lt;BR /&gt;[FUNDING_PROGRAM],&lt;BR /&gt;[DOI],&lt;BR /&gt;[PROJ_DESCR],&lt;BR /&gt;[KW_IF_ANY],&lt;BR /&gt;[FY_OF_FUNDING],&lt;BR /&gt;[NOTES];&lt;BR /&gt;Select "RC_LIST",&lt;BR /&gt;"ABSTRACT_ID",&lt;BR /&gt;"EPA_ID",&lt;BR /&gt;"ABS_TYPE",&lt;BR /&gt;"ABS_TITLE",&lt;BR /&gt;"FUNDING_AMT",&lt;BR /&gt;"PROJ_START_DT",&lt;BR /&gt;"PROJ_END_DT",&lt;BR /&gt;"EXT_END_DT",&lt;BR /&gt;"RFA",&lt;BR /&gt;"PRI_PI",&lt;BR /&gt;"CO_PI",&lt;BR /&gt;"RPTS",&lt;BR /&gt;"TOTAL_PUBS",&lt;BR /&gt;"PUBS_JOURNAL",&lt;BR /&gt;"PUBS_BOOKS",&lt;BR /&gt;"PRI_INST",&lt;BR /&gt;"INST",&lt;BR /&gt;"PO",&lt;BR /&gt;"PRI_STATE",&lt;BR /&gt;"STATE",&lt;BR /&gt;"PRI_REGION",&lt;BR /&gt;"REGION",&lt;BR /&gt;"PRI_LOCATION",&lt;BR /&gt;"LOCATION",&lt;BR /&gt;"CONG_DIST",&lt;BR /&gt;"GPRA_GOALS",&lt;BR /&gt;"DEFAULT_SORT_ORDER",&lt;BR /&gt;"SBIR_PHASE",&lt;BR /&gt;"CTR_NAME",&lt;BR /&gt;"CTR_DIR_CONTACT_ID",&lt;BR /&gt;"STAR",&lt;BR /&gt;"MAIN_ABSTRACT_ID",&lt;BR /&gt;"CONGRESS_MANDATED",&lt;BR /&gt;"ALTERNATE_EPA_ID",&lt;BR /&gt;"FUNDING_PROGRAM",&lt;BR /&gt;"DOI",&lt;BR /&gt;"PROJ_DESCR",&lt;BR /&gt;"KW_IF_ANY",&lt;BR /&gt;"FY_OF_FUNDING",&lt;BR /&gt;"NOTES"&lt;BR /&gt;FROM "NCERDB"."SEARCH_RESULTS_DISPLAY";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701650#M63874</guid>
      <dc:creator>bruce_sorge</dc:creator>
      <dc:date>2024-11-16T02:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script loading duplicate records</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701668#M63875</link>
      <description>&lt;P&gt;Hi, subfield without a 3rd parameter creates a duplicate record for each value it splits.&lt;/P&gt;&lt;P&gt;In explame:&amp;nbsp;&lt;SPAN&gt;SubField(RC_LIST,'|') -&amp;gt; If there are 4 '|' it will create 5 records, one for each splitted value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And if you have many of this Sufbfield without a 3rd parameter it creates a cartesian produt of all possible duplicates.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 16:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701668#M63875</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-05-13T16:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script loading duplicate records</title>
      <link>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701718#M63876</link>
      <description>&lt;P&gt;Thanks, I was not aware of this issue. I added another parameter and it solved my issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 18:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-Script-loading-duplicate-records/m-p/1701718#M63876</guid>
      <dc:creator>bruce_sorge</dc:creator>
      <dc:date>2020-05-13T18:16:22Z</dc:date>
    </item>
  </channel>
</rss>

