<?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 Dynamic Fields in a chart (straight table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769504#M1023014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 2 sets of data, one holds the activity detail, the other all the different field data associated to the activity. Problem being that currently the field data is 215 columns wide, not every field is completed for every activity, at the very minumum there is 1, at the very maximum there is about 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to design something that automatically re-structures a chart (straight table) to only reflect the fields pertinent to that activity Selected in the activity table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Anyone assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 16:57:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-09T16:57:01Z</dc:date>
    <item>
      <title>Dynamic Fields in a chart (straight table)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769504#M1023014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 2 sets of data, one holds the activity detail, the other all the different field data associated to the activity. Problem being that currently the field data is 215 columns wide, not every field is completed for every activity, at the very minumum there is 1, at the very maximum there is about 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to design something that automatically re-structures a chart (straight table) to only reflect the fields pertinent to that activity Selected in the activity table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Anyone assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769504#M1023014</guid>
      <dc:creator />
      <dc:date>2015-03-09T16:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields in a chart (straight table)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769505#M1023015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An idea to try:&lt;/P&gt;&lt;P&gt;Create a table with dimension activity id, and all other columns as expressions.&amp;nbsp; Show them conditionally, and the conditions could be something like&lt;/P&gt;&lt;P&gt;len(trim(concat(distinct FieldName,'')))&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 17:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769505#M1023015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T17:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields in a chart (straight table)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769506#M1023016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;Michael suggestion gonna work but in this situation you will need to create as much expression as you have fields, If I'm not mistaken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an option you can prepare inline table which will contain combination of fields for each activity.&lt;/P&gt;&lt;P&gt;In straight table you will define dimensions&amp;nbsp; like =[$(= [vField1])]. Qty of dimensions should be maximum possible fields per activity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vField1 = =subfield(concat(Field, ';'),';',1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an addition you will need to prepare hide contention for each&amp;nbsp; in order to avoid empty columns&lt;/P&gt;&lt;P&gt;something like this&lt;/P&gt;&lt;P&gt;GetPossibleCount(Field) &amp;gt;=1 for first dimension&lt;/P&gt;&lt;P&gt;GetPossibleCount(Field) &amp;gt;=2 for second .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will just need to play with it, a bit.&lt;/P&gt;&lt;P&gt;Hope it will help&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 17:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Fields-in-a-chart-straight-table/m-p/769506#M1023016</guid>
      <dc:creator />
      <dc:date>2015-03-09T17:33:02Z</dc:date>
    </item>
  </channel>
</rss>

