<?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 dual function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782577#M1209677</link>
    <description>&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;I am using dual function in load script to sort some values in pivot table using&amp;nbsp; month-Year, the problem is that dual function returns always january as month, this is my script:&lt;/P&gt;&lt;P&gt;DUAL(month(DATEEVENEMENT)&amp;amp;'-'&amp;amp;Date(DATEEVENEMENT,'YY'),Year(DATEEVENEMENT))&amp;nbsp; &amp;nbsp; AS MONTH_Ev&lt;/P&gt;&lt;P&gt;there is the output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;janv.-19&amp;nbsp; janv.-20 janv.-21&lt;/P&gt;&lt;P&gt;Note that month(DATEEVENEMENT) works well.&lt;/P&gt;&lt;P&gt;Can anyone help please.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Feb 2021 14:33:37 GMT</pubDate>
    <dc:creator>JMAROUF</dc:creator>
    <dc:date>2021-02-14T14:33:37Z</dc:date>
    <item>
      <title>dual function</title>
      <link>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782577#M1209677</link>
      <description>&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;I am using dual function in load script to sort some values in pivot table using&amp;nbsp; month-Year, the problem is that dual function returns always january as month, this is my script:&lt;/P&gt;&lt;P&gt;DUAL(month(DATEEVENEMENT)&amp;amp;'-'&amp;amp;Date(DATEEVENEMENT,'YY'),Year(DATEEVENEMENT))&amp;nbsp; &amp;nbsp; AS MONTH_Ev&lt;/P&gt;&lt;P&gt;there is the output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;janv.-19&amp;nbsp; janv.-20 janv.-21&lt;/P&gt;&lt;P&gt;Note that month(DATEEVENEMENT) works well.&lt;/P&gt;&lt;P&gt;Can anyone help please.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 14:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782577#M1209677</guid>
      <dc:creator>JMAROUF</dc:creator>
      <dc:date>2021-02-14T14:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: dual function</title>
      <link>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782579#M1209678</link>
      <description>&lt;P&gt;Try this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DUAL(month(DATEEVENEMENT)&amp;amp;'-'&amp;amp;Date(DATEEVENEMENT,'YY'),Month(DATEEVENEMENT))    AS MONTH_Ev&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 14 Feb 2021 15:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782579#M1209678</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2021-02-14T15:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: dual function</title>
      <link>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782588#M1209684</link>
      <description>&lt;P&gt;You can only store one text value per numeric in a dual field . You are using year as numeric value for all months and you will get the same text for all 2020 values and all 2021 values etc.&lt;/P&gt;&lt;P&gt;An alternative approach for this could be using this expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date(monthname(DATEEVENEMENT), 'MMM-YY') as MONTH_Ev&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 17:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782588#M1209684</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-02-14T17:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: dual function</title>
      <link>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782601#M1209686</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp; for the reply, but that doesn't work,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 20:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dual-function/m-p/1782601#M1209686</guid>
      <dc:creator>JMAROUF</dc:creator>
      <dc:date>2021-02-14T20:34:56Z</dc:date>
    </item>
  </channel>
</rss>

