<?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 with Embedded Labels AND explicit in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623569#M229480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't say that is impossible but definitely not useful - different is different and every difference needed to be handled with some condition (perhaps in loops with variables and/or the rename-statement). But in your case with only a few tables/fields it would be faster and better to keep the script simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 09:16:34 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-02-25T09:16:34Z</dc:date>
    <item>
      <title>Cross Table with Embedded Labels AND explicit</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623566#M229477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use a combination of Embedded Labels AND explicit for use on a cross table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I've got 3 types of data file that I want to load in to Qlikview.&lt;/P&gt;&lt;P&gt;Column 1 and Column 2 are Qualifier Fields.&lt;/P&gt;&lt;P&gt;Column 1 header is always [00:00:01] and will be loaded as "Time",&lt;/P&gt;&lt;P&gt;Column 2 header changes from file to file and will be loaded as "Main_metric"&lt;/P&gt;&lt;P&gt;...so ideally I want to use Explicit values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column 3 and beyond are Attribute Fields and Data Fields.&lt;/P&gt;&lt;P&gt;The header in the raw data is needed for the Attribute Field so Imbedded labels are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I want to replace 3 load scripts with 1, is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. replace:&lt;/P&gt;&lt;P&gt;CrossTable(sub_Metric, value, 2)&lt;/P&gt;&lt;P&gt;LOAD [00:00:01] as Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IFACE as Main_metric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rxerr/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [txerr/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [coll/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rxdrop/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [txdrop/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [txcarr/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rxfram/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rxfifo/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [txfifo/s]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable(sub_Metric, value, 2)&lt;/P&gt;&lt;P&gt;LOAD [00:00:01] as Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU as Main_metric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %usr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %nice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %sys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %iowait,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %steal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %irq,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %soft,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %guest,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %idle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable(sub_Metric, value, 2)&lt;/P&gt;&lt;P&gt;LOAD [00:00:01] as Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEV as Main_metric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [rd_sec/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [wr_sec/s],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [avgrq-sz],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [avgqu-sz],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; await,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; svctm,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %util&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...with a single load statement something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;CrossTable(sub_Metric, value, 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;LOAD [00:00:01] as Time, &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2 as Main_metric,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 15:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623566#M229477</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2014-02-24T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with Embedded Labels AND explicit</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623567#M229478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A mix of embedded label and no label isn't possible with txt-files. But you could easily load this few fields as column-no - see attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 16:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623567#M229478</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-02-24T16:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with Embedded Labels AND explicit</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623568#M229479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, Thanx, but I have 5 files (with 3 different Headers in Column 2, and all 5 have different headers in the subsequent columns) so I would be more efficient to use embedded labels and have 3 load scripts rather than have 5 load scripts without embedded labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect what I want to do is not possible, but I wondered if perhaps it could be done by maybe creating an empty table then loading data in to it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623568#M229479</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2014-02-25T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with Embedded Labels AND explicit</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623569#M229480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't say that is impossible but definitely not useful - different is different and every difference needed to be handled with some condition (perhaps in loops with variables and/or the rename-statement). But in your case with only a few tables/fields it would be faster and better to keep the script simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623569#M229480</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-02-25T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table with Embedded Labels AND explicit</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623570#M229481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Marcus - I was hoping because the files were so similar that there'd be an easy / graceful work-around. At present I can just do it with 3 load scripts but I've no idea if in the future there'll be more similar files to process that will require more scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 09:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table-with-Embedded-Labels-AND-explicit/m-p/623570#M229481</guid>
      <dc:creator>shane_spencer</dc:creator>
      <dc:date>2014-02-25T09:59:30Z</dc:date>
    </item>
  </channel>
</rss>

