<?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: Using Field Values as a Table Column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445497#M560034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to explain the formula you used?&amp;nbsp; I think it would be very helpful!&amp;nbsp; Especially the following section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=aggr(min(Order),ID,Status)'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 15:17:13 GMT</pubDate>
    <dc:creator>mphekin12</dc:creator>
    <dc:date>2013-05-10T15:17:13Z</dc:date>
    <item>
      <title>Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445489#M560026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm loading approval records from a DB that have an ever changing set of approvers associated with each record.&amp;nbsp; The data is stored in the following format (sample data being loaded inline but column format the same).&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13681201713945770" jivemacro_uid="_13681201713945770"&gt;&lt;P&gt;Approvals:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID, Desc, Name, Status&lt;/P&gt;&lt;P&gt;5, Test 1, Joe, Approved&lt;/P&gt;&lt;P&gt;5, Test 1, Matt, Approved&lt;/P&gt;&lt;P&gt;5, Test 1, John, Current&lt;/P&gt;&lt;P&gt;5, Test 1, Bill, Future&lt;/P&gt;&lt;P&gt;5, Test 1, Todd, Future&lt;/P&gt;&lt;P&gt;20, Test 2, Harry, Approved&lt;/P&gt;&lt;P&gt;20, Test 2, Joe, Current&lt;/P&gt;&lt;P&gt;20, Test 2, Matt, Future&lt;/P&gt;&lt;P&gt;20, Test 2, Bill, Future&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the data is loaded, the requirement is that it is displayed in the following format, where the approvers shown are a dynamic set that are selected from the available approvers.&amp;nbsp; Does anyone have any ideas on how to do this?&amp;nbsp; Pivot tables come close when I move the Name column to the top but display multiple lines for each ID where I just want a single line.&amp;nbsp; I appreciate your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="color: #ffffff;"&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Desc&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Joe&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Matt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;John&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;Test 1&lt;/TD&gt;&lt;TD&gt;Approved&lt;/TD&gt;&lt;TD&gt;Approved&lt;/TD&gt;&lt;TD&gt;Current&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;Test 2&lt;/TD&gt;&lt;TD&gt;Current&lt;/TD&gt;&lt;TD&gt;Future&lt;/TD&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 17:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445489#M560026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445490#M560027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will the attached sample app work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 17:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445490#M560027</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2013-05-09T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445491#M560028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you dont show multiple lines for each ID, which ID, Desc and status would you then want to show??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you show us the exact desired output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 17:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445491#M560028</guid>
      <dc:creator>calvindk</dc:creator>
      <dc:date>2013-05-09T17:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445492#M560029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help!&amp;nbsp; Yeah, that had been what I was trying but I'm still running into a problem.&amp;nbsp; It seems like it gets thrown out of whack if one approver has multiple status' on a single ID.&amp;nbsp; For example, if Joe in the example below has approved something but is now up again to approve, he doesn't show up in your table.&amp;nbsp; I know it may not make sense as far as why someone would need to approve twice but unfortunately the system is designed that way.&amp;nbsp; In this scenario we would want the data with the highest approval order.&amp;nbsp; I apologize for missing this scenario in the previous example.&amp;nbsp; Thanks again for your help!&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13681222984136160" jivemacro_uid="_13681222984136160"&gt;&lt;P&gt;Approvals:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID, Desc, Name, Status, Order&lt;/P&gt;&lt;P&gt;5, Test 1, Joe, Approved, 1&lt;/P&gt;&lt;P&gt;5, Test 1, Matt, Approved, 2&lt;/P&gt;&lt;P&gt;5, Test 1, John, Current, 3&lt;/P&gt;&lt;P&gt;5, Test 1, Bill, Future, 4&lt;/P&gt;&lt;P&gt;5, Test 1, Todd, Future, 5&lt;/P&gt;&lt;P&gt;20, Test 2, Joe, Approved, 1&lt;/P&gt;&lt;P&gt;20, Test 2, Harry, Approved, 2&lt;/P&gt;&lt;P&gt;20, Test 2, Joe, Current, 3&lt;/P&gt;&lt;P&gt;20, Test 2, Matt, Future, 4&lt;/P&gt;&lt;P&gt;20, Test 2, Bill, Future, 5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445492#M560029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T18:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445493#M560030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anders, the output above is exactly what I'm looking for.&amp;nbsp; Each ID will have it's own line and the Desc is 1:1 with the ID so that will be displayed on the same line.&amp;nbsp; As for status, the status for each approver should be displayed in that person's corresponding column.&amp;nbsp; As described in my followup, in the scenarios where there are multiple lines for a status, the status with the highest Order should be shown.&amp;nbsp; The output would be exactly what is shown below except, for ID 20, Joe's column should display "Current."&amp;nbsp; Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 18:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445493#M560030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T18:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445494#M560031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will do what you need. The Tmp is only bringing the lines with Max Order for that group which is then inner joined to main table so you get only the rows you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Inner&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; Approvals&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 22:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445494#M560031</guid>
      <dc:creator />
      <dc:date>2013-05-09T22:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445495#M560032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 14:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445495#M560032</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-10T14:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445496#M560033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Gysbert! This is perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 14:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445496#M560033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-10T14:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Field Values as a Table Column</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445497#M560034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to explain the formula you used?&amp;nbsp; I think it would be very helpful!&amp;nbsp; Especially the following section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=aggr(min(Order),ID,Status)'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 15:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Field-Values-as-a-Table-Column/m-p/445497#M560034</guid>
      <dc:creator>mphekin12</dc:creator>
      <dc:date>2013-05-10T15:17:13Z</dc:date>
    </item>
  </channel>
</rss>

