<?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: How to make our design flexible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397494#M797856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternate States?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 20:02:29 GMT</pubDate>
    <dc:creator>MK9885</dc:creator>
    <dc:date>2017-12-13T20:02:29Z</dc:date>
    <item>
      <title>How to make our design flexible?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397493#M797855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;i am having dashboard in which i have comparison of sales based on year and season. I want to compare 2015 year sales with 2017 &lt;/P&gt;&lt;P&gt;how to implement the same ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikckk.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186815_qlikckk.png" style="height: 280px; width: 620px;" /&gt;the date represented above chart as 2016(is a text box in which under text option it is written as (=prev_year)&amp;nbsp; has following coding in the script&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 11.0pt; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 11.0pt; font-family: 'Courier New';"&gt;currentdate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;(1)-1,'YYYYMMDD');&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 11.0pt; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 11.0pt; font-family: 'Courier New';"&gt;Curr_Year&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;());&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 11.0pt; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 11.0pt; font-family: 'Courier New';"&gt;Prev_Year&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt; = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Courier New'; color: black;"&gt;())-1);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397493#M797855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make our design flexible?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397494#M797856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternate States?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 20:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397494#M797856</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-12-13T20:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make our design flexible?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397495#M797857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use Set Analysis to do this, I think.&amp;nbsp; You use a Set expression like &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {"$(=Max(Year))"} &lt;/STRONG&gt;In your formula.&amp;nbsp; It might look something like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {"$(=Max(Year))"}&lt;/STRONG&gt; &amp;gt;} Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //This is for Current year sales, or "max selected year".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {"$(=Max(Year)-2)"}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &amp;gt;} Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //This is for the Max selected year -2, or 2015.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You would use these as 2 different expressions in your chart and you would be able to get your two different years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Nate &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397495#M797857</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2017-12-13T21:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to make our design flexible?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397496#M797858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;inhereted &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 04:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397496#M797858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-14T04:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make our design flexible?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397497#M797859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have assigned following values to my variables in the script itself &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11pt; font-family: 'Courier New'; color: gray;"&gt;currentdate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;(1)-1,'YYYYMMDD');&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11pt; font-family: 'Courier New'; color: gray;"&gt;Curr_Year&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;());&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 11pt; font-family: 'Courier New'; color: gray;"&gt;Prev_Year&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt; = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;())-1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;then i have used this variables curr_year and prev_year in my chart expressions &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=num( &lt;/P&gt;&lt;P&gt;sum(if(Sold_Date &amp;lt;= MakeDate(Prev_Year,month(To),day(To)) and Sold_Date &amp;gt;= MakeDate(Prev_Year,month(From),day(From)),&amp;nbsp; [inv value]))/Sales_INR_Unit,&lt;/P&gt;&lt;P&gt;'#,##0.0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;now i want to assign the variable curr_year so that it can show comparison between any season les than&amp;nbsp; 2017 ie curr_year &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;so what changes i have to do for the same in my variable declaration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 04:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-our-design-flexible/m-p/1397497#M797859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-14T04:58:56Z</dc:date>
    </item>
  </channel>
</rss>

