<?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 and Month Format - YYYY_MM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727333#M724049</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maye be ;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Date(Date#([Input YearMonth],'YYYY_MM'),'YYYY_MM') as [Output YearMonth]&lt;/LI-CODE&gt;&lt;P&gt;output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 296px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37357iD0A1D3A52787AD82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 13:06:28 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-07-13T13:06:28Z</dc:date>
    <item>
      <title>Year and Month Format - YYYY_MM</title>
      <link>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727328#M724048</link>
      <description>&lt;P&gt;&amp;nbsp;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement where the following Date Field (contains Year and Month only) needs to be converted into &lt;STRONG&gt;YYYY_MM&lt;/STRONG&gt; format. Can somebody please advise on this. I have tried few options form my side but they are not giving the expected output.&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="38.605230386052305%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="17.995018679950185%" height="25px"&gt;Input YearMonth&amp;nbsp;&lt;/TD&gt;&lt;TD width="20.610211706102113%" height="25px"&gt;Output YearMonth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="17.995018679950185%" height="25px"&gt;2019_3&lt;/TD&gt;&lt;TD width="20.610211706102113%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;2019_03&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="17.995018679950185%" height="25px"&gt;2020_1&lt;/TD&gt;&lt;TD width="20.610211706102113%" height="25px"&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;2020_01&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="17.995018679950185%" height="25px"&gt;2019_10&lt;/TD&gt;&lt;TD width="20.610211706102113%" height="25px"&gt;2019_10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="17.995018679950185%" height="25px"&gt;2019_11&lt;/TD&gt;&lt;TD width="20.610211706102113%" height="25px"&gt;2019_11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The transformation is highlighted in blue/bold in Output YearMonth.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727328#M724048</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year and Month Format - YYYY_MM</title>
      <link>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727333#M724049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maye be ;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Date(Date#([Input YearMonth],'YYYY_MM'),'YYYY_MM') as [Output YearMonth]&lt;/LI-CODE&gt;&lt;P&gt;output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 296px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37357iD0A1D3A52787AD82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 13:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727333#M724049</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-07-13T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Year and Month Format - YYYY_MM</title>
      <link>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727344#M724050</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(MakeDate(SubField(YearMonth, '_', 1), SubField(YearMonth, '_', -1)), 'YYYY-MM') as YearMonth&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jul 2020 13:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727344#M724050</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-13T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Year and Month Format - YYYY_MM</title>
      <link>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727346#M724051</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Taoufiq. It worked. I was missing the second YYYY_MM in my trials.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SK&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 13:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-and-Month-Format-YYYY-MM/m-p/1727346#M724051</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2020-07-13T13:30:48Z</dc:date>
    </item>
  </channel>
</rss>

