<?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 Scripting Issue - Please Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753009#M453666</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm having difficulty trying to transform a table of data I have, the script is a simple straight load which gives me data like this;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is how the flat table looks" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42389iD4B2CD5D6C53901C/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlatTable.JPG" alt="This is how the flat table looks" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is how the flat table looks&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to transform this so I end up with a unique line for each entry that shows the max completed date and then 2 more fields with next due, next due +1. So it should look like the picture below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Transformed Table" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42390i2EBE00F85879363D/image-size/large?v=v2&amp;amp;px=999" role="button" title="TransformedTable.JPG" alt="Transformed Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Transformed Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If anyone can help me out I'd be massively thankful - I'm not a million miles away, I just can't quite get it nailed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:48:00 GMT</pubDate>
    <dc:creator>samvile18</dc:creator>
    <dc:date>2024-11-15T23:48:00Z</dc:date>
    <item>
      <title>Scripting Issue - Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753009#M453666</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm having difficulty trying to transform a table of data I have, the script is a simple straight load which gives me data like this;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is how the flat table looks" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42389iD4B2CD5D6C53901C/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlatTable.JPG" alt="This is how the flat table looks" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is how the flat table looks&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need to transform this so I end up with a unique line for each entry that shows the max completed date and then 2 more fields with next due, next due +1. So it should look like the picture below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Transformed Table" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42390i2EBE00F85879363D/image-size/large?v=v2&amp;amp;px=999" role="button" title="TransformedTable.JPG" alt="Transformed Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Transformed Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If anyone can help me out I'd be massively thankful - I'm not a million miles away, I just can't quite get it nailed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753009#M453666</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2024-11-15T23:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Issue - Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753066#M453669</link>
      <description>&lt;P&gt;You need to aggregate in some way. Try to create a table using all the dimensions except the two date dimensions. Then for maxCompletedDueDate use this expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;=MaxString(CompletedDate)&lt;/P&gt;&lt;P&gt;For the due dates try the max function&lt;/P&gt;&lt;P&gt;=Min(DueDate)&lt;/P&gt;&lt;P&gt;=min(DueDate, 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 05:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753066#M453669</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-16T05:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Issue - Please Help</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753074#M453670</link>
      <description>&lt;P&gt;To exclude the completed you also might need to adjust your expression with a SET modifier.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Min({&amp;lt;CompletedDate - ={*} &amp;gt;} DueDate)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=min({&amp;lt;CompletedDate - ={*} &amp;gt;}DueDate, 2)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 06:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-Issue-Please-Help/m-p/1753074#M453670</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-16T06:20:02Z</dc:date>
    </item>
  </channel>
</rss>

