<?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 Create month year and week date in qlik in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-month-year-and-week-date-in-qlik/m-p/2433429#M96813</link>
    <description>&lt;P&gt;Hi All ,&lt;/P&gt;
&lt;P&gt;I have below data fields :-&lt;/P&gt;
&lt;P&gt;Left(Year(YearName(TempDate,0,4)),5) &amp;amp; '-'&amp;amp; IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3) as Fiscal_Month_Year&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3) as New_Fiscal_Month_Num,&lt;/P&gt;
&lt;P&gt;Dual(Month(TempDate), IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3)) as New_Fiscal_Month,&lt;/P&gt;
&lt;P&gt;Below is the output:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1711043323734.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162496i930929A403C3E740/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1711043323734.png" alt="Aspiring_Developer_0-1711043323734.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create Month year filter in this format :- MMM-YY . I used monthname and date filter but it is giving me dates Apr-1988 .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for week , I&amp;nbsp; am trying to create dates for that week , for example week 40 then it should show the dates for week 40 in the dimension.&lt;/P&gt;
&lt;P&gt;Can anyone please help me ?&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 17:50:57 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2024-03-21T17:50:57Z</dc:date>
    <item>
      <title>Create month year and week date in qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Create-month-year-and-week-date-in-qlik/m-p/2433429#M96813</link>
      <description>&lt;P&gt;Hi All ,&lt;/P&gt;
&lt;P&gt;I have below data fields :-&lt;/P&gt;
&lt;P&gt;Left(Year(YearName(TempDate,0,4)),5) &amp;amp; '-'&amp;amp; IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3) as Fiscal_Month_Year&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3) as New_Fiscal_Month_Num,&lt;/P&gt;
&lt;P&gt;Dual(Month(TempDate), IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3)) as New_Fiscal_Month,&lt;/P&gt;
&lt;P&gt;Below is the output:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1711043323734.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162496i930929A403C3E740/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1711043323734.png" alt="Aspiring_Developer_0-1711043323734.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create Month year filter in this format :- MMM-YY . I used monthname and date filter but it is giving me dates Apr-1988 .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for week , I&amp;nbsp; am trying to create dates for that week , for example week 40 then it should show the dates for week 40 in the dimension.&lt;/P&gt;
&lt;P&gt;Can anyone please help me ?&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 17:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-month-year-and-week-date-in-qlik/m-p/2433429#M96813</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2024-03-21T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create month year and week date in qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Create-month-year-and-week-date-in-qlik/m-p/2433464#M96815</link>
      <description>&lt;P&gt;Hello there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the Month / Year filter, you could use this:&lt;/P&gt;
&lt;P&gt;(Dual(Month(TempDate), IF(Month(TempDate)&amp;lt;=3, Month(TempDate)+9, Month(TempDate)-3))&amp;amp;'-'&amp;amp;right(Year(TempDate),2)) as MonthYearFilter&lt;/P&gt;
&lt;P&gt;As for the Week, you can use this:&lt;/P&gt;
&lt;P&gt;WeekStart(TempDate)&amp;amp;'-'&amp;amp;WeekEnd(TempDate) as WeekFilter&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 20:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-month-year-and-week-date-in-qlik/m-p/2433464#M96815</guid>
      <dc:creator>Ryan_McGregor</dc:creator>
      <dc:date>2024-03-21T20:35:24Z</dc:date>
    </item>
  </channel>
</rss>

