<?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 Create a dimension from existing dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276947#M103281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Leonard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help, i was not aware of the "Resident" function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i have have placed the code on the script but i got the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;OQWHLO&amp;gt;&lt;/P&gt;&lt;P&gt;LOAD OQETRN as [External tracking number]&lt;/P&gt;&lt;P&gt;if(count(OQWHLO)&amp;gt;1,'Coload','Single') as [Coload]&lt;/P&gt;&lt;P&gt;Resident MHDISL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding the reason for this mistake as the field OQWHLO is already defined... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Script error.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5184_Script+error.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2011 10:30:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-13T10:30:35Z</dc:date>
    <item>
      <title>Create a dimension from existing dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276945#M103279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt and i would need your help if possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one expression which is based on one existing dimension, but what i need is to create an expression based on that same existing dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the example. I have the expression that gives the result "COLOAD" or "SINGLE" andit is based on the existing dimension "Shipment ID". But what i need is this result ("COLOAD" or "SINGLE") to exist as a dimension based on the Shipment ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that i need to somehow have a way to exclude or not the co-loads from the Filling Rate % table, and i am not seeing any other way of doing it. What says if a shipment is coload or single is if the same Shipment ID has two&amp;nbsp; different warehouses or two different deliveries. That's why the expression is :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF(COUNT(Warehouse)=2,'COLOAD','SINGLE')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate if someone could help me on this.... (file in attach)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5159_example.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 13:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276945#M103279</guid>
      <dc:creator />
      <dc:date>2011-06-09T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Create a dimension from existing dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276946#M103280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Try using something like this in your load script, it should then link back to your shipmentID and allow you to use the 'Coload' field as a dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Coload:&lt;BR /&gt;&lt;STRONG style="color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;OQETRN &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;[External tracking number] ,&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;OQWHLO&lt;/SPAN&gt;)&amp;gt;1,'Coload', 'Single') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;'Coload'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; MHDISL; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;﻿&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 23:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276946#M103280</guid>
      <dc:creator />
      <dc:date>2011-06-09T23:19:53Z</dc:date>
    </item>
    <item>
      <title>Create a dimension from existing dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276947#M103281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Leonard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help, i was not aware of the "Resident" function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i have have placed the code on the script but i got the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;OQWHLO&amp;gt;&lt;/P&gt;&lt;P&gt;LOAD OQETRN as [External tracking number]&lt;/P&gt;&lt;P&gt;if(count(OQWHLO)&amp;gt;1,'Coload','Single') as [Coload]&lt;/P&gt;&lt;P&gt;Resident MHDISL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not finding the reason for this mistake as the field OQWHLO is already defined... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Script error.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5184_Script+error.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-dimension-from-existing-dimension/m-p/276947#M103281</guid>
      <dc:creator />
      <dc:date>2011-06-13T10:30:35Z</dc:date>
    </item>
  </channel>
</rss>

