<?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: Problem with Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777857#M663056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what does the ',' do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 16:34:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-10T16:34:49Z</dc:date>
    <item>
      <title>Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777853#M663052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show a comment field in a Pivot Table. The dimension of the Pivot is the Jobname. For each Jobname there are several comments that get a continous number. I am able to distill the maximum number for each job (MaxNumber). How can I link that number to the respective comment field in the Pivot formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777853#M663052</guid>
      <dc:creator />
      <dc:date>2015-03-10T16:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777854#M663053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with concat(comment, ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777854#M663053</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-03-10T16:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777855#M663054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan, I'm not sure to understand the requirements. You want for each JobName his last comment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a table like:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;JobName, CommentNo, Comment&lt;/P&gt;&lt;P&gt;Test, 1, Comment1&lt;/P&gt;&lt;P&gt;Test, 2, Comment2&lt;/P&gt;&lt;P&gt;Test, 3, Comment3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can show the last Comment for job with the expression:&lt;/P&gt;&lt;P&gt;FirstSortedValue(Comment, -CommentNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want this as dimension you can use:&lt;/P&gt;&lt;P&gt;=Aggr(FirstSortedValue(Comment, -CommentNo), JobName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777855#M663054</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-10T16:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777856#M663055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, correct. For each JobName the last comment. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777856#M663055</guid>
      <dc:creator />
      <dc:date>2015-03-10T16:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777857#M663056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what does the ',' do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777857#M663056</guid>
      <dc:creator />
      <dc:date>2015-03-10T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777858#M663057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I understand. You concatenate all the entries into the filed. Now I would only have to read out from the last ','. How would I have to script this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777858#M663057</guid>
      <dc:creator />
      <dc:date>2015-03-10T16:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777859#M663058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ',' is the delimiter from concat - you could also use any other maybe chr(10) - and the function will return all comments to the jobname. If you want only the last then use the suggestion from Ruben with firtsortedvalue().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777859#M663058</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-03-10T16:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777860#M663059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstsortedvalue only works if&amp;nbsp; txtnr = integer field. This is not the case... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; Or can I write the values into integer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777860#M663059</guid>
      <dc:creator />
      <dc:date>2015-03-10T16:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777861#M663060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your comment-field isn't linked to a date-field you have to create an additionally numeric value within the script, maybe per rowno() and a proper sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777861#M663060</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-03-10T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777862#M663061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan, and how you identify wich is the last comment for each JobName? If it's by loading order you can follow Marcus advise and create a RowNo(), if not, can you post a sample data and explain how to identify the last comment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 10:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Pivot/m-p/777862#M663061</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-03-11T10:15:35Z</dc:date>
    </item>
  </channel>
</rss>

