<?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: Multi Dates in one record, stacked bars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173390#M381193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 19:30:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-07-28T19:30:18Z</dc:date>
    <item>
      <title>Multi Dates in one record, stacked bars</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173389#M381192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have data which looks like this...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;item-id, created-date, resolved-date&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;b434,2016-05-05, 2016-06-06&lt;/LI&gt;&lt;LI&gt;b435,2016-05-06,&lt;/LI&gt;&lt;LI&gt;b425,2016-06-06, 2016-06-06&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a bar graph with the month as the y-axis, count of created-date as 1 bar, count of resolved-date as second bar? I can create two independent charts easily enough but do not know how to put them together. Need something like this to chart...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;month, count-created, count-resolved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;05, 2, 0&lt;/P&gt;&lt;P&gt;06, 1, 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As searching the discussions, I created a 'calendar' table with months in it to see if that would help things (using that as the dimension) but no luck.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 18:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173389#M381192</guid>
      <dc:creator>sskinner</dc:creator>
      <dc:date>2016-07-28T18:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Dates in one record, stacked bars</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173390#M381193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 19:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173390#M381193</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-28T19:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Dates in one record, stacked bars</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173391#M381194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, very good (and fast) response. I feared it would be a little complicated like that but will try it out. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 19:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173391#M381194</guid>
      <dc:creator>sskinner</dc:creator>
      <dc:date>2016-07-28T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Dates in one record, stacked bars</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173392#M381195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do something that hope help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//------------------------- Load Original Data&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; item-id, created-date, resolved-date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b434, 2016-05-05, 2016-06-06, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b435, 2016-05-06, , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b425, 2016-06-06, 2016-06-06&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;//------------------------- Transform to work with dates&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[item-id],&lt;/P&gt;&lt;P&gt;[created-date],&lt;/P&gt;&lt;P&gt;[resolved-date],&lt;/P&gt;&lt;P&gt;Month([created-date]) as month_created,&lt;/P&gt;&lt;P&gt;Month([resolved-date]) as month_resolved&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;//-------------------------&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;P&gt;//------------------------- Create a field to use as counter&lt;/P&gt;&lt;P&gt;Couter_cases:&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;[item-id],&lt;/P&gt;&lt;P&gt;month_created as month,&lt;/P&gt;&lt;P&gt;1 as case_created&lt;/P&gt;&lt;P&gt;Resident Table2&lt;/P&gt;&lt;P&gt;where not IsNull(month_created);&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;[item-id],&lt;/P&gt;&lt;P&gt;month_resolved as month,&lt;/P&gt;&lt;P&gt;1 as case_resolved&lt;/P&gt;&lt;P&gt;Resident Table2&lt;/P&gt;&lt;P&gt;where not IsNull(month_resolved);&lt;IMG alt="cases.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/132935_cases.PNG" style="height: 277px; width: 620px;" /&gt; !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 21:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173392#M381195</guid>
      <dc:creator>flores_mig</dc:creator>
      <dc:date>2016-07-28T21:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Dates in one record, stacked bars</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173393#M381196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel, I was able to get the first solution working before I saw this post. Thank-you though for it, may help me (others) with future challenges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 13:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dates-in-one-record-stacked-bars/m-p/1173393#M381196</guid>
      <dc:creator>sskinner</dc:creator>
      <dc:date>2016-07-29T13:04:01Z</dc:date>
    </item>
  </channel>
</rss>

