<?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: Year Month Day Hiearchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604548#M478727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a string that will look like this as an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateHierarchy&lt;/P&gt;&lt;P&gt;2014|January|01&lt;/P&gt;&lt;P&gt;2014|January|02&lt;/P&gt;&lt;P&gt;2014|January|03&lt;/P&gt;&lt;P&gt;2014|January|04&lt;/P&gt;&lt;P&gt;2014|January|05&lt;/P&gt;&lt;P&gt;2014|February|10&lt;/P&gt;&lt;P&gt;2014|February|11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in your list box click the 'show as tree view' with pipe as your delimiter, '|'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create the string simply do &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Year(DateField)&lt;/SPAN&gt;&amp;amp;'|'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Month(DateField)&amp;amp;'|'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Day(DateField)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 13:54:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-05T13:54:24Z</dc:date>
    <item>
      <title>Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604546#M478725</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 I have a datefield which datetype is YYYY-MM-DD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i have These fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(DateField) as Year&lt;/P&gt;&lt;P&gt;Month(DateField) as Month&lt;/P&gt;&lt;P&gt;Day(DateField) as Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i then make a hiearchy in a listbox ? Where i can select all attributes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604546#M478725</guid>
      <dc:creator />
      <dc:date>2014-03-05T13:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604547#M478726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two ideas for this:&lt;/P&gt;&lt;P&gt;a) create an expression within listbox (instead of one single field):&lt;/P&gt;&lt;P&gt;=Year &amp;amp; '/' &amp;amp; Month &amp;amp; '/' &amp;amp; Tag&lt;/P&gt;&lt;P&gt;and check "View in treeview"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) create a according Drill Down Group with Year, Month, .... (see document propers --&amp;gt; group Tab ...)&lt;/P&gt;&lt;P&gt;After creation use it in the listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HtH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604547#M478726</guid>
      <dc:creator />
      <dc:date>2014-03-05T13:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604548#M478727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a string that will look like this as an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateHierarchy&lt;/P&gt;&lt;P&gt;2014|January|01&lt;/P&gt;&lt;P&gt;2014|January|02&lt;/P&gt;&lt;P&gt;2014|January|03&lt;/P&gt;&lt;P&gt;2014|January|04&lt;/P&gt;&lt;P&gt;2014|January|05&lt;/P&gt;&lt;P&gt;2014|February|10&lt;/P&gt;&lt;P&gt;2014|February|11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in your list box click the 'show as tree view' with pipe as your delimiter, '|'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create the string simply do &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Year(DateField)&lt;/SPAN&gt;&amp;amp;'|'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Month(DateField)&amp;amp;'|'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Day(DateField)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604548#M478727</guid>
      <dc:creator />
      <dc:date>2014-03-05T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604549#M478728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i do like this i cannot select the top level. I can only select the lowest level Day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604549#M478728</guid>
      <dc:creator />
      <dc:date>2014-03-05T14:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604550#M478729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only select the lowest level Day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604550#M478729</guid>
      <dc:creator />
      <dc:date>2014-03-05T14:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604551#M478730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick is to create a field that contains the level at each level with a added delimiter. In the attached qvw I wanted to show you what your field needs to look like to achieve the correct hierarchy. You have to take advantage of the peek function in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now I have used some rudimentary if statements to achieve what you wanted. let me know if you come right man&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604551#M478730</guid>
      <dc:creator />
      <dc:date>2014-03-05T14:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month Day Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604552#M478731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do something quite simple:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Time2&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Noconcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &amp;amp; '|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Path&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Time&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;amp; '|' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Path&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Time&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Path&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; font-size: 10pt;"&gt;Time&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Where Time is a first table with some dates, months and year fields, as you have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;By creating a second table, you will multiply the lines between Path (pls rename it) and the dates. So that you can choose a year and get data in your chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the listbox, choose the Path field, and choose the delimiter (here the pipe) to get a treeview&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-Day-Hiearchy/m-p/604552#M478731</guid>
      <dc:creator />
      <dc:date>2014-03-05T14:44:39Z</dc:date>
    </item>
  </channel>
</rss>

