<?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: How to create dimension values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408095#M803702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be try this too. &lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *, IF(AccountNo = Peek(AccountNo) AND (Match(Status, 'Booked', 'Failure') OR Match(Status, 'Failure', 'Booked')), 'Reebooked', Status) AS NewStatus; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD accountno as AccountNo, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status as Status&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Desktop\Data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2017 20:26:26 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-11-16T20:26:26Z</dc:date>
    <item>
      <title>How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408087#M803694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the table below is my data&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183547" alt="pivot_1.png" class="jive-image image-1" height="609" src="https://community.qlik.com/legacyfs/online/183547_pivot_1.png" style="height: 609px; width: 229.383px;" width="229" /&gt;&lt;/P&gt;&lt;P&gt;And this is the pivot representation of the same data:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183581" alt="pivot_2.png" class="jive-image image-2" height="517" src="https://community.qlik.com/legacyfs/online/183581_pivot_2.png" style="height: 516.974px; width: 706px;" width="706" /&gt;&lt;/P&gt;&lt;P&gt;So the question is how can I extend the status dimension such that &lt;SPAN style="font-size: 13.3333px;"&gt;there will be another dimension value called Rebooked in the top table or a new column in the pivot table &lt;/SPAN&gt;for the accountno that has both Booked and Failure (accountno: 3000479 for example) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, the condition is If (status = 'Booked' AND status = 'Failure' ,&amp;nbsp; status = 'Rebooked').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if my question is not clear but I'm happy to elaborate on this if you guys have any idea about this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Laleh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408087#M803694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408088#M803695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach sample data, we will do it directly with your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 17:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408088#M803695</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-16T17:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408089#M803696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a sample of my data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 19:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408089#M803696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T19:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408090#M803697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it has a booked and failure would you want it removed from those categories and only count in the new category of 'Rebooked'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 19:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408090#M803697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408091#M803698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally we want to keep the current statuses as they are while introducing new status i.e an accountno who has both Failure &amp;amp; Booked will have Rebooked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 19:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408091#M803698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T19:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408092#M803699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably want to do this in the script.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load distinct&lt;/P&gt;&lt;P&gt;accountno&lt;/P&gt;&lt;P&gt;From YourFile&lt;/P&gt;&lt;P&gt;where Status='Booked';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join(&lt;SPAN style="font-size: 13.3333px;"&gt;Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load distinct&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;acountno&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From YourFile&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Status='Failure';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;noconcatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;AllData:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;accountno,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'Rebooked' as Status&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Resident Data;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Drop table Data;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate(AllData)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load accountno,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Status&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;From YourFile;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 19:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408092#M803699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T19:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408093#M803700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like a good idea! Thank you, I'm going to test it now, will let you know how it goes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 19:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408093#M803700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408094#M803701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well-done &amp;amp; thanks a lot! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 20:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408094#M803701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T20:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408095#M803702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be try this too. &lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *, IF(AccountNo = Peek(AccountNo) AND (Match(Status, 'Booked', 'Failure') OR Match(Status, 'Failure', 'Booked')), 'Reebooked', Status) AS NewStatus; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD accountno as AccountNo, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status as Status&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Desktop\Data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 20:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408095#M803702</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-11-16T20:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dimension values?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408096#M803703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops too late. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 20:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-dimension-values/m-p/1408096#M803703</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-11-16T20:26:46Z</dc:date>
    </item>
  </channel>
</rss>

