<?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: Required help in writing the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Required-help-in-writing-the-script/m-p/1599370#M456578</link>
    <description>I have able to achieve the second requirement ....&lt;BR /&gt;I need help in achieving the first requirement ...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 05 Jul 2019 09:56:44 GMT</pubDate>
    <dc:creator>kunkumnaveen</dc:creator>
    <dc:date>2019-07-05T09:56:44Z</dc:date>
    <item>
      <title>Required help in writing the script</title>
      <link>https://community.qlik.com/t5/QlikView/Required-help-in-writing-the-script/m-p/1599355#M456577</link>
      <description>&lt;P&gt;Hello &amp;nbsp;All,&lt;/P&gt;&lt;P&gt;With the attached Calendar data ,i need to create two Dynamic Fiscal Year Dimensions as shown below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture1.PNG" style="width: 349px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14964i4C5B7F00F933C872/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if Q2 is selected it has to show Q2 of each &amp;nbsp;Fiscal Year ,and if Q3 is Selected it has to show Q3 of each Fiscal year and So on&lt;/P&gt;&lt;P&gt;Second is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture2.PNG" style="width: 344px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14965i14E8BFF18F4D1FC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;last four Quarters&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have converted those columns in to rows using cross table&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mis:&lt;BR /&gt;crosstable(CalMonthYear,CalMonthYearValue,7)&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;BR /&gt;"Apr'16",&lt;BR /&gt;"May'16",&lt;BR /&gt;"Jun'16",&lt;BR /&gt;"Jul'16",&lt;BR /&gt;"Aug'16",&lt;BR /&gt;"Sep'16",&lt;BR /&gt;"Oct'16",&lt;BR /&gt;"Nov'16",&lt;BR /&gt;"Dec'16",&lt;BR /&gt;"Jan'17",&lt;BR /&gt;"Feb'17",&lt;BR /&gt;"Mar'17",&lt;BR /&gt;"Apr'17",&lt;BR /&gt;"May'17",&lt;BR /&gt;"Jun'17",&lt;BR /&gt;"Jul'17",&lt;BR /&gt;"Aug'17",&lt;BR /&gt;"Sep'17",&lt;BR /&gt;"Oct'17",&lt;BR /&gt;"Nov'17",&lt;BR /&gt;"Dec'17",&lt;BR /&gt;"Jan'18",&lt;BR /&gt;"Feb'18",&lt;BR /&gt;"Mar'18",&lt;BR /&gt;"Apr'18",&lt;BR /&gt;"May'18",&lt;BR /&gt;"Jun'18",&lt;BR /&gt;"Jul'18",&lt;BR /&gt;"Aug'18",&lt;BR /&gt;"Sep'18"&lt;/P&gt;&lt;P&gt;FROM [lib://AttachedFiles/MIS_CV.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is DATA);&lt;/P&gt;&lt;P&gt;MisRES:&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;num#('Q'&amp;amp;Ceil(Month(AddMonths(date(date#(PurgeChar(CalMonthYear,chr(39)),'MMMYY'),'MMYYYY'),9))/3)) as FiscalQuarter,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;year(addmonths(date(date#(PurgeChar(CalMonthYear,chr(39)),'MMMYY'),'MMYYYY'),9)) as FiscalYear,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'F'&amp;amp;Chr(39)&amp;amp;right(year(addmonths(date(date#(PurgeChar(CalMonthYear,chr(39)),'MMMYY'),'MMYYYY'),9)),2) as FYear,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'F'&amp;amp;Chr(39)&amp;amp;right(year(addmonths(date(date#(PurgeChar(CalMonthYear,chr(39)),'MMMYY'),'MMYYYY'),9)),2)&amp;amp;' '&amp;amp;&lt;BR /&gt;'Q'&amp;amp;Ceil(Month(AddMonths(date(date#(PurgeChar(CalMonthYear,chr(39)),'MMMYY'),'MMYYYY'),9))/3) as FYearQuarter,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;resident Mis;&lt;BR /&gt;Drop Table Mis;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any help in how to create those two requirements&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 09:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Required-help-in-writing-the-script/m-p/1599355#M456577</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2019-07-05T09:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Required help in writing the script</title>
      <link>https://community.qlik.com/t5/QlikView/Required-help-in-writing-the-script/m-p/1599370#M456578</link>
      <description>I have able to achieve the second requirement ....&lt;BR /&gt;I need help in achieving the first requirement ...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jul 2019 09:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Required-help-in-writing-the-script/m-p/1599370#M456578</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2019-07-05T09:56:44Z</dc:date>
    </item>
  </channel>
</rss>

