<?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: dynamically should be changed max year with quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990512#M947779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have data till 2015-Q2 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my requirement in the x-axis year i want to display like this 2015-Q2,2014,2013,2012,2011 and soon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 2014,2013,2012 and soon for these years the max quarter to be taken i.e Q4 valaves only should be taken for these years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for the 2015 year we have Q1 and Q2 so 2015-Q2 only shoul be display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we have two requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2016 13:10:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-04T13:10:46Z</dc:date>
    <item>
      <title>dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990504#M947771</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;In My Bar chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimension is&lt;/P&gt;&lt;P&gt;=Pick(Measure ,if(YEAR='$(=max({&amp;lt;NAME={A,B,C,D},QUARTER={'Q4'}&amp;gt;}YEAR))',&lt;/P&gt;&lt;P&gt;YEAR&amp;amp;'-'&amp;amp;QUARTER,&lt;/P&gt;&lt;P&gt;if(YEAR and QUARTER='$(=maxstring({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;}QUARTER))',YEAR))&lt;/P&gt;&lt;P&gt;,if(YEAR= '$(=max({&amp;lt;NAME={A,B,C,D}&amp;gt;}YEAR))'&lt;/P&gt;&lt;P&gt;and QUARTER='$(=maxstring({&amp;lt;YEAR={$(=max(YEAR))}&amp;gt;}QUARTER))', YEAR&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(Avg({&amp;lt;NAME={A},QUARTER={'Q4'}&amp;gt;}VALUE))&lt;/P&gt;&lt;P&gt;=(Avg({&amp;lt;NAME={B},QUARTER={'Q4'}&amp;gt;}VALUE))&lt;/P&gt;&lt;P&gt;=(Avg({&amp;lt;NAME={C},QUARTER={'Q4'}&amp;gt;}VALUE))&lt;/P&gt;&lt;P&gt;=(Avg({&amp;lt;NAME={D},QUARTER={'Q4'}&amp;gt;}VALUE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presently we are showing for the max year with quarter in the chart as dimension and we are restricting with quarter-Q4. But we have data for the latest year 2015 Q1,Q2 and we required to show fo only latest year as 2015 Q2 in the chart and previous years should be calculated only Q4 and shoudl be shown as 2012,2013,2014,2015-Q2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above process should be done dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this &lt;A href="https://community.qlik.com/qlik-users/23109" target="_blank"&gt;jagan&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/120618" target="_blank"&gt;MRKachhiaIMP&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990504#M947771</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990505#M947772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;Would you be able to share the Sample?&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;For now try like below&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;Dimension:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;YEAR&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;QUARTER&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;Expression&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;1) avg({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NAME={'A'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;={"$(=max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;))"}, &lt;EM style="font-size: 13.3333330154419px;"&gt;QUARTER&lt;/EM&gt;={"$(=maxstring({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;={$(=max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;))}&amp;gt;}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;QUARTER&lt;/SPAN&gt;))"}&amp;gt;}Value)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2) avg({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NAME={'B'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;={"$(=max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;))"}, &lt;EM style="font-size: 13.3333330154419px;"&gt;QUARTER&lt;/EM&gt;={"$(=maxstring({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;={$(=max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;))}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;QUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;))"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 07:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990505#M947772</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-28T07:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990506#M947773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the previous years 2014,2013 and soon i want to calculated only Quarter = Q4. For latest and max year&amp;nbsp; i want to show which quarter is max. presently we have data for 2015 Q1 and Q2. now i want to show as 2015-Q2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 07:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990506#M947773</guid>
      <dc:creator />
      <dc:date>2015-12-28T07:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990507#M947774</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;&lt;/P&gt;&lt;P&gt;Please help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 09:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990507#M947774</guid>
      <dc:creator />
      <dc:date>2015-12-28T09:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990508#M947775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you will select the Year from list box it will automatically pick the latest quarter for that selected year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 10:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990508#M947775</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-28T10:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990509#M947776</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;&lt;/P&gt;&lt;P&gt;here in bar chart dimension is calculated dimension - =if(YEAR=YEAR(Today()),YEAR&amp;amp;'-'&amp;amp;'QUARTER',if(DATE&amp;gt;='12/31/1916',YEAR))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My six expressions are =if(YEAR=YEAR(Today()),Avg({&amp;lt;NAME={'A'}&amp;gt;}VALUE),Avg({&amp;lt;NAME={'A'},QUARTER={'Q4'}&amp;gt;}VALUE)) and other expression are NAME= B,C,D,E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to calculate latest QUARTER in the above epression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know on this how to calculates latest quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990509#M947776</guid>
      <dc:creator />
      <dc:date>2015-12-29T13:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990510#M947777</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;please help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 12:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990510#M947777</guid>
      <dc:creator />
      <dc:date>2016-01-04T12:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990511#M947778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to write or use calculated dimension, what you can want just wrote under set expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Just take YEAR as dimension and &lt;SPAN style="font-size: 13.3333px;"&gt; for max year and max quarter then expression will be like, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Avg({&amp;lt;NAME={'A'},YEAR={'$(=MAX(YEAR))'},Quarter={'$(=Maxstring(Quarter))'}&amp;gt;}VALUE)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 12:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990511#M947778</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2016-01-04T12:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990512#M947779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have data till 2015-Q2 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my requirement in the x-axis year i want to display like this 2015-Q2,2014,2013,2012,2011 and soon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 2014,2013,2012 and soon for these years the max quarter to be taken i.e Q4 valaves only should be taken for these years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for the 2015 year we have Q1 and Q2 so 2015-Q2 only shoul be display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we have two requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990512#M947779</guid>
      <dc:creator />
      <dc:date>2016-01-04T13:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990513#M947780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to show inside the dimension it will&amp;nbsp; show, 2015-Q2,2014-Q4,2013-Q4,2012-Q4 and so .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thing you can do these things inside the script so it will be more easy for handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990513#M947780</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2016-01-04T13:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990514#M947781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this requirement we have only this chart so i dont want to change anything in the datamodel level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No it should show like this Only 2015-Q2,2014,2013,2012,2011,2010 in dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and from 2014 to 2010 for these years show be calaculate only Q4 quarter data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990514#M947781</guid>
      <dc:creator />
      <dc:date>2016-01-04T13:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically should be changed max year with quarter</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990515#M947782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not mentioning quarters for rest of the other years is ok. You can do these thing inside the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 13:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-should-be-changed-max-year-with-quarter/m-p/990515#M947782</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2016-01-04T13:32:04Z</dc:date>
    </item>
  </channel>
</rss>

