<?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: Multiple dimension values for a single record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264885#M398555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's acceptable to just list the fruits in a single field, you can avoid the extra table you wanted to avoid, but I see no reason to avoid another table. (Edit: Oops, check the dimension 2 value too, but I'm too lazy to go back and edit.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,1,1)='Y','Potato ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,2,1)='Y','Banana ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,3,1)='Y','Apple ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,4,1)='Y','Orange ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,5,1)='Y','Pear ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,6,1)='Y','Grapefruit ') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fruits&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; font-family: courier new,courier;"&gt;&lt;IMG __jive_id="149810" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149810_Capture.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 23:34:38 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2017-01-17T23:34:38Z</dc:date>
    <item>
      <title>Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264880#M398550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run into an interesting issue and am looking for suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was asked to split some numerical value (measure1) into various categories in a new dimension (food category) based on the value of some other dimensions for that record (dimension2 and 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a nested if statement in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,1)='Y','Potato',&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2,1)='Y','Banana',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt; AND &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,3,1)='Y','Apple',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4,1)='Y','Orange',&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,5,1)='Y','Pear',&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='category1' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,6,1)='Y','Grapefruit', ''))))))&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Fruit Category]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Under the assumption that each record could be only a potato, or only a banana, or only an apple, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;so I have a table built in the dashboard that gives measure totals for each of these 'fruit categories' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;However my end user has just informed me that if some record 'X' has mid(dimension3,1,1) = Y AND also has mid(dimension3,2,1) = Y the this record should be counted for both potato and bananas and should be appear in the total for both potatos and bananas in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This is a problem because for any record loaded, it will first check if it fits the potato definition and if it does it will be assigned the dimensional value for potato and never reach the portion checking for bananas even though it may also be a banana (Schrodinger's fruit).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;How can I go about accommodating a case where a single record is supposed to have multiple possible values for the same dimension? I'd like to avoid duplication of records if possible... but that doesn't seem likely here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264880#M398550</guid>
      <dc:creator />
      <dc:date>2017-01-17T21:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264881#M398551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your description, the [Fruit Category] cannot be presented as an attribute for each Dim2 and Dim3 (as you initially assumed), but might have multiple values for each one of those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would do (in your load script) is create a Combo Key field that contains both Dim2 and Dim3 and then load a separate table with the relation between the Combo Key and the "Fruit Category". In order to allow multiple results, I wouldn't use the nested IF statement (which only returns a single results). I would use multiple loads with the corresponding WHERE conditions. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FruitCategories:&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComboKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Potato' as [Fruit Category]&lt;/P&gt;&lt;P&gt;RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fruits&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='category1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,1,1)='Y'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way, any possible combinations will get captured and the corresponding fruits will get included in multiple fruit categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Munich, Germany!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264881#M398551</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-01-17T21:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264882#M398552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you would need to create &lt;EM&gt;multiple&lt;/EM&gt; records, either duplicating your fact table record (containing Measure1) or creating a key for the fact records and using a link table. Depends on how you want to handle your Measure1 aggregations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264882#M398552</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-17T21:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264883#M398553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you create one new category 'Potato_Banana and check at the top -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='category1' &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(dimension3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,1,2)='YY','Potato_Banana',&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I think it is possible to handle this category in both Potato and Banana total at front end somehow using string matching. May it some performance though.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 22:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264883#M398553</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-17T22:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264884#M398554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could build your supplementary table like this, assuming your fact table has an ID. See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Fruit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CROSSTABLE (Fruit,Flag)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,1,1) as Potato&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,2,1) as Banana&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,3,1) as Apple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,4,1) as Orange&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,5,1) as Pear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,mid(dimension3,6,1) as Grapefruit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE dimension2='category1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;INNER JOIN (Fruit)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD 'Y' as Flag&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DROP FIELD Flag;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="149809" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149809_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264884#M398554</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2017-01-17T23:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264885#M398555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's acceptable to just list the fruits in a single field, you can avoid the extra table you wanted to avoid, but I see no reason to avoid another table. (Edit: Oops, check the dimension 2 value too, but I'm too lazy to go back and edit.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,1,1)='Y','Potato ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,2,1)='Y','Banana ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,3,1)='Y','Apple ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,4,1)='Y','Orange ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,5,1)='Y','Pear ')&lt;BR /&gt; &amp;amp;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;dimension3&lt;/SPAN&gt;,6,1)='Y','Grapefruit ') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fruits&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt; font-family: courier new,courier;"&gt;&lt;IMG __jive_id="149810" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149810_Capture.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264885#M398555</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2017-01-17T23:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple dimension values for a single record</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264886#M398556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spot on..Thanks for the clear explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 00:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-dimension-values-for-a-single-record/m-p/1264886#M398556</guid>
      <dc:creator />
      <dc:date>2017-01-19T00:05:47Z</dc:date>
    </item>
  </channel>
</rss>

