<?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: Pick value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-value/m-p/570292#M1119256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp; You should have the DATE_ID key between your tables formatted the same.&amp;nbsp; Here is load script that will do so:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Order:&lt;/P&gt;
&lt;P&gt;LOAD timestamp#(ORDERDATE_ID, 'MMDDYYYYhh:mm') as ORDERDATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timestamp#(ORDERDATE_ID, 'MMDDYYYYhh:mm')),'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is ORDER);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Customer:&lt;/P&gt;
&lt;P&gt;LOAD date#(DATE_ID,'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CNT_CUSTOMER&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is CUSTOMER);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Profit:&lt;/P&gt;
&lt;P&gt;LOAD date#(DATE_ID,'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNT&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is PROFIT);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Once you set your data up like this, you can use DATE_ID as a dimension in a line chart, which will then allow you to compare all 3 tables (see the top line chart in my example file that is attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; To only pick a date on a chart and to have it not affect anything else on the report, give the chart a different alternate state (you can create alternate states in Settings &amp;gt; Document Properties &amp;gt; General &amp;gt; Alternate States (button), then add the alternate state to the chart in Chart Properties &amp;gt; General &amp;gt; Alternate State (dropdown), see the top line chart in my example file that is attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; This is where you use the original ORDERDATE_ID field which is no longer a key between the tables for the date time, and the DATE_ID for just the date (see the bottom two line charts in my example file that is attached).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 15:50:42 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-02-11T15:50:42Z</dc:date>
    <item>
      <title>Pick value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-value/m-p/570291#M1119255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty new to qlikview and I would be happy if you give me a hand about issue which I explain it below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY DATA SET:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Customer]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date_ID: YYYYMMDD (Sting data)&lt;/P&gt;&lt;P&gt;Count: Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Order]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date_ID: YYYYMMDDhh:mm&lt;/P&gt;&lt;P&gt;Count: Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Amount]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date_ID: YYYYMMDD&lt;/P&gt;&lt;P&gt;Sum: Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compare those tables in a line chart and I want to analyze for each table as well...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first question: How can I compare those tables if the date format is string and order date is different than others..(time based)&lt;/P&gt;&lt;P&gt;Second question: How to pick a specific date on chart? I want to only do it on that chart otherwise I do give condition to whole report.&lt;/P&gt;&lt;P&gt;Last question: I would like to create a chart that shows order date by based daily and other chart should only show based on hour..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you share your time and help me out I would be appreciated in you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached sample data set and if you give me a feedback with a sample qvd report I would be happy..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-value/m-p/570291#M1119255</guid>
      <dc:creator />
      <dc:date>2014-02-11T14:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pick value</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-value/m-p/570292#M1119256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp; You should have the DATE_ID key between your tables formatted the same.&amp;nbsp; Here is load script that will do so:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Order:&lt;/P&gt;
&lt;P&gt;LOAD timestamp#(ORDERDATE_ID, 'MMDDYYYYhh:mm') as ORDERDATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(timestamp#(ORDERDATE_ID, 'MMDDYYYYhh:mm')),'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is ORDER);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Customer:&lt;/P&gt;
&lt;P&gt;LOAD date#(DATE_ID,'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CNT_CUSTOMER&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is CUSTOMER);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Profit:&lt;/P&gt;
&lt;P&gt;LOAD date#(DATE_ID,'MMDDYYYY') as DATE_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNT&lt;/P&gt;
&lt;P&gt;FROM Data.xlsx&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is PROFIT);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Once you set your data up like this, you can use DATE_ID as a dimension in a line chart, which will then allow you to compare all 3 tables (see the top line chart in my example file that is attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; To only pick a date on a chart and to have it not affect anything else on the report, give the chart a different alternate state (you can create alternate states in Settings &amp;gt; Document Properties &amp;gt; General &amp;gt; Alternate States (button), then add the alternate state to the chart in Chart Properties &amp;gt; General &amp;gt; Alternate State (dropdown), see the top line chart in my example file that is attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; This is where you use the original ORDERDATE_ID field which is no longer a key between the tables for the date time, and the DATE_ID for just the date (see the bottom two line charts in my example file that is attached).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-value/m-p/570292#M1119256</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-11T15:50:42Z</dc:date>
    </item>
  </channel>
</rss>

