<?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: Cross table / dummy variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676047#M1071721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I got:&lt;/P&gt;&lt;P&gt;tb1:&lt;/P&gt;&lt;P&gt;CrossTable(Incubator, Data)&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.3,&lt;/P&gt;&lt;P&gt;(etc. etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I beleive with further load you refer to the dropping tables afterwards like in link 1. However I do not understand how to apply the condition if(...) in creating a table. Could you support me with an example link / code so I can adapt it.&lt;/P&gt;&lt;P&gt;Thanks a bunch Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2014 14:00:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-14T14:00:16Z</dc:date>
    <item>
      <title>Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676041#M1071715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community, apologies if the title is incorrect- i wasn't sure how to name it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you find a snip of the excel sheet. There is a few (55) columns with the title Incubator ##. The cells are populated with an 'x'.&lt;/P&gt;&lt;P&gt;Initialled it wasn't an issue loading the file in qlikview. It just created a lot of dimensions but I could still make my graphs using :&lt;/P&gt;&lt;P&gt;avg({&amp;lt;[Incub. 1]={'x'}&amp;gt;}%F). With year as dimension. It used a lot of time to create each individual expression, but did the trick.&lt;/P&gt;&lt;P&gt;However now that I want Incub. ## as dimension I am running into problems&lt;/P&gt;&lt;P&gt;I looked into cross tables but this does not seem to do the trick for me. I also don't think this is the way to go. I then tried a&lt;/P&gt;&lt;P&gt;LOAD*INLINE&lt;/P&gt;&lt;P&gt;[ Incubator&lt;/P&gt;&lt;P&gt;Incub.1&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..];&lt;/P&gt;&lt;P&gt;But then it is just merely text and not linked to the actual column Incub. 1 in the excel document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is welcome, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 17:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676041#M1071715</guid>
      <dc:creator />
      <dc:date>2014-08-13T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676042#M1071716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Crosstable is the right approach - I think you will need a little more play around with the logic and the syntax to create a table-structure like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any_ID, SomeDate, Incub, Value&lt;/P&gt;&lt;P&gt;1, 2014/08/13, 1, x&lt;/P&gt;&lt;P&gt;1, 2014/08/13, 2, x&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look on these or similar postings to receive some useful hints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/496225"&gt;Re: loading 2 level cross tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/376986"&gt;Re: Extracting parts of field names to create new fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/531120"&gt;Re: Check CrossTable for NULL Values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 19:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676042#M1071716</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-13T19:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676043#M1071717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post some sample data?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 21:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676043#M1071717</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-13T21:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676044#M1071718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus for the links. Thanks Marco for taking your time and willing to help out. I have managed to solve the problem by adding an additional column to my original data as a unique ID key which wasn't before. This solved my problem with the crosstables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 12:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676044#M1071718</guid>
      <dc:creator />
      <dc:date>2014-08-14T12:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676045#M1071719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I do have to addin another question. If I need to make a new post let me know.&lt;/P&gt;&lt;P&gt;I have made the crosstable, and the values it returns are 'x'. Fair enough that is exactly as in my excel data dump. However I want it TRUE or FALSE. Like this I can make a dimension/further selection.&amp;nbsp; How do I indicate this to qlikview, or change my excel file?&lt;/P&gt;&lt;P&gt;Example attached. ID 3342 Should only have as selection Incubator 14. Instead it shows all.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64443_2.PNG.png" style="width: 620px; height: 433px;" /&gt;&lt;IMG alt="3.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64444_3.PNG.png" style="width: 620px; height: 147px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 13:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676045#M1071719</guid>
      <dc:creator />
      <dc:date>2014-08-14T13:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676046#M1071720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't possible within the crosstable-load but in a further load you could simply ask if(YourField = 'x', true(), false()) or you used a mapping-table and applymap().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 13:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676046#M1071720</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-08-14T13:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cross table / dummy variable</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676047#M1071721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently I got:&lt;/P&gt;&lt;P&gt;tb1:&lt;/P&gt;&lt;P&gt;CrossTable(Incubator, Data)&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incub.3,&lt;/P&gt;&lt;P&gt;(etc. etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I beleive with further load you refer to the dropping tables afterwards like in link 1. However I do not understand how to apply the condition if(...) in creating a table. Could you support me with an example link / code so I can adapt it.&lt;/P&gt;&lt;P&gt;Thanks a bunch Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 14:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-table-dummy-variable/m-p/676047#M1071721</guid>
      <dc:creator />
      <dc:date>2014-08-14T14:00:16Z</dc:date>
    </item>
  </channel>
</rss>

