<?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 Group by 2 fields and include additional columns on the same row. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569805#M683665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;See the included QVW file for full description of my question along with an inline table with sample data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I want to do is group the rows by Id and Tstamp and see the properties assigned_to, assignment_group and state on every row.&lt;/P&gt;&lt;P&gt;If the properties did not change on that grouped timestamp I want the fields to contain a null value instead..&lt;/P&gt;&lt;P&gt;Like for example on the Id 2 and Tstamp 2014-03-06 15:14:33 the only thing that changed was the state, meaning assigned_to and assignment_group are null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had issues to show the three properties on every "group by" and if I group by all of the fields I get additional fields with the same timestamp and I don't want that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my problem makes sense to anyone and check out the included file for a deeper explaination of the "workflow" I had in mind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2014 09:42:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-13T09:42:48Z</dc:date>
    <item>
      <title>Group by 2 fields and include additional columns on the same row.</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569805#M683665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;See the included QVW file for full description of my question along with an inline table with sample data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what I want to do is group the rows by Id and Tstamp and see the properties assigned_to, assignment_group and state on every row.&lt;/P&gt;&lt;P&gt;If the properties did not change on that grouped timestamp I want the fields to contain a null value instead..&lt;/P&gt;&lt;P&gt;Like for example on the Id 2 and Tstamp 2014-03-06 15:14:33 the only thing that changed was the state, meaning assigned_to and assignment_group are null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had issues to show the three properties on every "group by" and if I group by all of the fields I get additional fields with the same timestamp and I don't want that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my problem makes sense to anyone and check out the included file for a deeper explaination of the "workflow" I had in mind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569805#M683665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-13T09:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Group by 2 fields and include additional columns on the same row.</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569806#M683666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached a quick solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two notes though:&lt;/P&gt;&lt;P&gt;1. I only added one row from the missing external table (for the initial states)&lt;/P&gt;&lt;P&gt;2. The code relies on the fact that the Tstamp is always the same for two rows for "state" and "assigned_to" that are to be joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hampus von Post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 15:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569806#M683666</guid>
      <dc:creator>hps</dc:creator>
      <dc:date>2014-03-13T15:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Group by 2 fields and include additional columns on the same row.</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569807#M683667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot, I just had a chance to look quickly but as I said the first problem I had was getting the propeties in place for the first step, the "group by" sequence.. Seems I had missed the Only() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appriciated. I think I can adapt this to my needs &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; If not I might be back for some more help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 15:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-2-fields-and-include-additional-columns-on-the-same-row/m-p/569807#M683667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-13T15:18:07Z</dc:date>
    </item>
  </channel>
</rss>

