<?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: Creating New fields in existing table based on specific text in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543453#M109532</link>
    <description>&lt;P&gt;Can you post a screenshot of your data model as it now stands?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 16:43:35 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2026-02-20T16:43:35Z</dc:date>
    <item>
      <title>Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543383#M109513</link>
      <description>&lt;P&gt;I have a table called milestones which contains all milestones for all projects. I need to create a report that shows the information in the following way :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="orangebloss_0-1771516203699.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187008iB3919C606F8FB7D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="orangebloss_0-1771516203699.png" alt="orangebloss_0-1771516203699.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If the milestone is not found then 'N/A' should be in the table. The script I've tried is&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Milestones:&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MilestoneProjectID&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MilestoneName,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;if(Wildmatch(upper(MilestoneName),'*MS1*'),Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as MS1,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;if(Wildmatch(upper(MilestoneName),'*MS2*'),Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as MS2,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;if(Wildmatch(upper(MilestoneName),'*MS3*'),Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as MS3,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;if(Wildmatch(upper(MilestoneName),'*MS4*'),Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as MS4,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;if(Wildmatch(upper(MilestoneName),'MS5*'),Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as MS5,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;FROM [lib://Milestones.qvd]&lt;/DIV&gt;&lt;DIV&gt;(qvd);&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try and put this in a table I get results like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="orangebloss_1-1771516265314.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187009iEACC909BD0212235/image-size/medium?v=v2&amp;amp;px=400" role="button" title="orangebloss_1-1771516265314.png" alt="orangebloss_1-1771516265314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get them all on the same row in the table?&lt;/P&gt;&lt;P&gt;I'll also need to do some calcs based on actual completion date vs the milestone deadline date - how is best to approach this?&lt;/P&gt;&lt;P&gt;I have a separate Projects table which would be ideal to have this information in instead of using the milestones table but without using lots of apply maps I'm not sure how to do this (currently the projects table is joined via another table so a direct link won't work as I get a circular reference).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Projects connects to Tasklists via the Project ID&lt;/P&gt;&lt;P&gt;Tasklists are connected to milestones via the MilestoneID&lt;/P&gt;&lt;P&gt;Milestones list also contains the Project ID but this is called MilestonesProjectID and is stored in the Milestones file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 15:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543383#M109513</guid>
      <dc:creator>orangebloss</dc:creator>
      <dc:date>2026-02-19T15:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543387#M109514</link>
      <description>&lt;P&gt;You will want to use the script GENERIC Load prefix for this. Here's an example&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2010/05/use-cases-for-generic-load/" target="_blank"&gt;https://qlikviewcookbook.com/2010/05/use-cases-for-generic-load/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 16:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543387#M109514</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2026-02-19T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543420#M109522</link>
      <description>&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I'm left joining some of the milestone table fields to my project table, if I use generic load I get an illegal combination?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were to use the generic load on my original table would that alter the structure and affect other reports / tables I already have charted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 07:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543420#M109522</guid>
      <dc:creator>orangebloss</dc:creator>
      <dc:date>2026-02-20T07:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543436#M109526</link>
      <description>&lt;P&gt;I doubt that I would tend to pivot the dates within the data-model else keeping the main-structure as it is - at least not get information like the offset between the milestones and/or to today() and/or their overall min/max and/or their count and similar stuff.&lt;/P&gt;&lt;P&gt;A single mapping-table which combined the project and the milestone as lookup-key would be enough and then n applymap-calls could fetch the wanted information and evaluating it against the calling record (adding them as n parallel fields would be also possible).&lt;/P&gt;&lt;P&gt;Further ways respectively applying them in combination with the mapping may be to concat() the milestones and/or the dates into a string and then picking the wanted information with subfield() or similat string-functions. Another possibility is to use interrecord-functions like previous() and peek() within a sorted resident-load and access the information from the other records.&lt;/P&gt;&lt;P&gt;To address the&amp;nbsp;&lt;SPAN&gt;'N/A' requirement for missing information I would populate the records and adding them per concatenate to the facts.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 13:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543436#M109526</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-02-20T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543453#M109532</link>
      <description>&lt;P&gt;Can you post a screenshot of your data model as it now stands?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 16:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543453#M109532</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2026-02-20T16:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543487#M109544</link>
      <description>&lt;P&gt;Some Sample data would be a good starting point for us.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Feb 2026 16:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543487#M109544</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2026-02-22T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543523#M109558</link>
      <description>&lt;P&gt;Hi Rob here's the cut down view of the model, Milestones are always attached to tasklists, this may be one or more. A tasklist can only be linked to one milestone though.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-02-20 085016.png" style="width: 831px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187028i7CC39553BAD08242/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-02-20 085016.png" alt="Screenshot 2026-02-20 085016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 09:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543523#M109558</guid>
      <dc:creator>orangebloss</dc:creator>
      <dc:date>2026-02-23T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543526#M109559</link>
      <description>&lt;P&gt;Hi Marcus, could you give me an example of what you mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From reading your response it seems I need to&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a table with the fields in from the milestone table and the project?&lt;/P&gt;&lt;P&gt;2. Use apply map in the projects table to pull the information across?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 10:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543526#M109559</guid>
      <dc:creator>orangebloss</dc:creator>
      <dc:date>2026-02-23T10:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating New fields in existing table based on specific text</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543531#M109560</link>
      <description>&lt;P&gt;It might be starting with something like:&lt;/P&gt;&lt;DIV&gt;Milestones:&lt;/DIV&gt;&lt;DIV&gt;load *,&amp;nbsp;&lt;SPAN&gt;MilestoneProjectID &amp;amp; '|' &amp;amp;&amp;nbsp;MS_Type as Key, 'origin' as Source;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MilestoneProjectID,&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MilestoneName,&lt;BR /&gt;Date(Floor(MilestoneDeadline),'DD/MM/YYYY')) as Date,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Wildmatch(upper(MilestoneName),'*MS1*','*MS2*','*MS3*','*MS4*','MS5*') as MS_Type,&lt;/DIV&gt;&lt;DIV&gt;FROM [lib://Milestones.qvd]&amp;nbsp;(qvd);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MissingBase:&lt;/DIV&gt;&lt;DIV&gt;load distinct&amp;nbsp;&lt;SPAN&gt;MilestoneProjectID from Projects; join load recno() as&amp;nbsp;MS_Type autogenerate 5;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;concatenate(Milestones)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;load MilestoneProjectID, 0 as MS_Type, 'populated' as Source&lt;BR /&gt;from MissingBase where not exists(Key,&amp;nbsp;MilestoneProjectID &amp;amp; '|' &amp;amp; MS_Type);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;drop tables MissingBase;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;m: mapping load&amp;nbsp;&lt;SPAN&gt;Key, Date&lt;BR /&gt;resident Milestones;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NextStep:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;load *, applymap('m',&amp;nbsp;MilestoneProjectID &amp;amp; '|' &amp;amp; MS_Type + 1, 'default') as NextDate, ...&lt;BR /&gt;resident Milestones;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It's not a final solution else just elaborating the above mentioned approach in possible details ...&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Feb 2026 12:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-New-fields-in-existing-table-based-on-specific-text/m-p/2543531#M109560</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2026-02-23T12:20:11Z</dc:date>
    </item>
  </channel>
</rss>

