<?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: Duality Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129459#M755792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to separate the date into month and year into 2 fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2018 02:30:17 GMT</pubDate>
    <dc:creator>wendytham</dc:creator>
    <dc:date>2018-10-04T02:30:17Z</dc:date>
    <item>
      <title>Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129453#M755784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to plot duality chart (sample chart as attached) by using the attached data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the serial number, for product A, i would like to extract the first 2 digits as year and 3rd digit as month.&lt;/P&gt;&lt;P&gt;Eg.: 1861212345&lt;/P&gt;&lt;P&gt;18 = Year 2018&lt;/P&gt;&lt;P&gt;6 = June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For product B, the first digit is year, 4th digit is the month.&lt;/P&gt;&lt;P&gt;Eg.: 8AB513154 &lt;/P&gt;&lt;P&gt;8 = Year 2018&lt;/P&gt;&lt;P&gt;5 = May&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extracted month-year from serial number will be the production month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can show me how to do this in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129453#M755784</guid>
      <dc:creator>wendytham</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129454#M755785</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;This works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;LOAD [Product Category], &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Model, &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Serial Number], &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Occurrence Month],&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Product Category] = 'A',&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate('20' &amp;amp; Left([Serial Number],2),Right(Left([Serial Number],3),1),'01'),&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate('201' &amp;amp; Left([Serial Number],1),Right(Left([Serial Number],4),1),'01')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) as Date&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;[...\Sample Data.xlsx]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Just get the file location updated and you can use the above directly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 07:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129454#M755785</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-10-03T07:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129455#M755787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niclas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How if the month is represented by different number/alphabet in the serial number as below?&lt;/P&gt;&lt;P&gt;1=Jan&lt;/P&gt;&lt;P&gt;2=Feb&lt;/P&gt;&lt;P&gt;3=Mar&lt;/P&gt;&lt;P&gt;4=Apr&lt;/P&gt;&lt;P&gt;5=May&lt;/P&gt;&lt;P&gt;6=Jun&lt;/P&gt;&lt;P&gt;7=Jul&lt;/P&gt;&lt;P&gt;8=Aug&lt;/P&gt;&lt;P&gt;9=Sep&lt;/P&gt;&lt;P&gt;O=Oct&lt;/P&gt;&lt;P&gt;N=Nov&lt;/P&gt;&lt;P&gt;D=Dec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 07:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129455#M755787</guid>
      <dc:creator>wendytham</dc:creator>
      <dc:date>2018-10-03T07:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129456#M755789</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;You’re right it only works from 1-9 at this point. I would create a mapping table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mDate:&lt;/P&gt;&lt;P&gt;Mapping &lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Input, Output&lt;/P&gt;&lt;P&gt;'O', 10&lt;/P&gt;&lt;P&gt;'N', 11&lt;/P&gt;&lt;P&gt;'D', 12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use the map in the expression for month in the MakeDate function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Product Category] = 'A',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate('20' &amp;amp; Left([Serial Number],2),ApplyMap('mDate', Right(Left([Serial Number],3),1), Right(Left([Serial Number],3),1)),'01'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate('201' &amp;amp; Left([Serial Number],1),ApplyMap('mDate', Right(Left([Serial Number],4),1), Right(Left([Serial Number],4),1)),'01')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way if it is any of O, N or D it will give 10, 11 or 12 and otherwise it will use the actual number in the serial number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 07:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129456#M755789</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-10-03T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129457#M755790</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;Ok, understand. How about plotting those charts as shown in the sample chart excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to create a chart like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 08:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129457#M755790</guid>
      <dc:creator>wendytham</dc:creator>
      <dc:date>2018-10-03T08:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129458#M755791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can use a pivot table to create a chart like that by using both sets of dates as dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 08:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129458#M755791</guid>
      <dc:creator>niclaz79</dc:creator>
      <dc:date>2018-10-03T08:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129459#M755792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to separate the date into month and year into 2 fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 02:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129459#M755792</guid>
      <dc:creator>wendytham</dc:creator>
      <dc:date>2018-10-04T02:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duality Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129460#M755793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Date function or Month() or Year().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 10:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duality-Chart/m-p/129460#M755793</guid>
      <dc:creator>shwethaa</dc:creator>
      <dc:date>2018-10-04T10:30:27Z</dc:date>
    </item>
  </channel>
</rss>

