<?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: Need Help on alternate states with set analysis....? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093804#M932635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is what I have for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for State 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(Year, False(), 'state1') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH, False(), 'state1') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state1&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state1}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state1}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state1} SUCCESS_RATE)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(GetSelectedCount(Year) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(SUCCESS_RATE))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculation Condition on General tab for State1 Chart:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GetSelectedCount(MONTH) &amp;gt; 0 and&amp;nbsp; GetSelectedCount(Year) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for State2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(Year, False(), 'state2') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH, False(), 'state2') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state2&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state2}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state2}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state2} SUCCESS_RATE)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(GetSelectedCount(Year) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(SUCCESS_RATE))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Calculation Condition on General tab for State2 Chart:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;GetSelectedCount(MONTH) &amp;gt; 0 and&amp;nbsp; GetSelectedCount(Year) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Demonstration for state 1 chart:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1) Selection in global filter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117627_Capture.PNG" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2) 2 month selection in global filter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/117629_Capture.PNG" style="height: 397px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3) Selection made in state1 filters (overriding the global filters)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/117630_Capture.PNG" style="height: 410px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) 2 month selection in state2 filter&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/117631_Capture.PNG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 15:01:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-10T15:01:21Z</dc:date>
    <item>
      <title>Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093792#M932622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a requirement where we use alternates states in set analysis , getting some error in the Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ENV &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'[Local 1]') =1&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ,'[Local 1]')= 1&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ,'[Local 1]') = 1 ,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {'[Local 1]' &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;REPORT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} , MONTH = $:: {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"&amp;gt;=$(= addmonths(Max(&lt;SPAN style="font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;),-2)) &amp;lt;=$(= addmonths(Max(&lt;SPAN style="font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;),0))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, SOURCE_ID =$::{&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, TARGET_ID =$::{&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;,DATE = $:: DATE &amp;gt;} SOURCE_COUNT) ) , Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Local 1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt; REPORT_ID = $:: {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} , SOURCE_ID = $:: {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, TARGET_ID = $:: {&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;"2"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;} , DATE = $:: DATE &amp;gt;} SOURCE_COUNT) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;we are using Month as a Dimention &amp;amp;&amp;nbsp; our alternate group name is&amp;nbsp;&amp;nbsp; Local 1 , and we are getting the error in the Expression. shown in Red.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please have a Look into the Expression and Correct us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;V.&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/Need-Help-on-alternate-states-with-set-analysis/m-p/1093792#M932622</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093793#M932624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Can you try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;If(GetSelectedCount(ENV, False(), 'Local 1') = 1&amp;nbsp; and GetSelectedCount(YEAR, False(), 'Local 1') = 1 and GetSelectedCount(MONTH, False(), 'Local 1') = 1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum({[Local 1]&amp;lt;REPORT_ID = {1}, MONTH = $::{"&amp;gt;=$(= addmonths(Max(MONTH ),-2))&amp;lt;=$(= addmonths(Max(MONTH),0))"}, SOURCE_ID = $::{1}, TARGET_ID = $::{2}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="line-height: 1.5em; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;, DATE = $:: DATE&amp;gt;} SOURCE_COUNT)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="line-height: 1.5em; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Sum({[Local 1]&amp;lt;REPORT_ID = $::{1}, SOURCE_ID = $::{1}, TARGET_ID = $::{2&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;}, DATE = $:: DATE&amp;gt;} SOURCE_COUNT))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 13:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093793#M932624</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T13:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093794#M932625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunny T ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your response , your expression also not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am really confused with this...&lt;/P&gt;&lt;P&gt; is this possible to use the Alternate states in Expression which are having GetSelected functions if possible please let us know that syntax....&lt;/P&gt;&lt;P&gt;am unable to get it if I use the above two expressions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Leave your comments and any other methods to correct this..&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 15:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093794#M932625</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-07T15:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093795#M932626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of QV are you using? Is it a version before QV11.20 SR8? If it is not, would you be able to share a sample&amp;nbsp; with your expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 19:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093795#M932626</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-07T19:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093796#M932627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Sunny we are using Qv 11.2 SR 10 only , i think this is possible in SR 10 .&lt;/P&gt;&lt;P&gt;But am unable to get the output with the above expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have some other appraoch to satisfy the user requirement but seems like that is also not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please respond if you have any idea about that.&lt;/P&gt;&lt;P&gt;Please find the attached image in the main thread for clear underastanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its about restricting the filter selections to particular section only.&lt;/P&gt;&lt;P&gt;simply we have 4 sections , in each section we have&amp;nbsp; Env ,Year ,Month and Report ID filters.&lt;/P&gt;&lt;P&gt;the same 4 filters we have to Use as a Global Filters means if we select any one of that it has to effect the Entire Report Overriding the Section wise selections...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 05:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093796#M932627</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-09T05:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093797#M932628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remember the similar requirement was posted earlier by you, I was trying on attached sample but couldn't find the usable solution. Just attaching the half done sample in case others can help you. &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can confirm if this sample can be used by others. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 06:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093797#M932628</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-09T06:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093798#M932629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet again I don't have a sample to work with, but can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(GetSelectedCount(ENV, False(), 'Local 1') = 1&amp;nbsp; and GetSelectedCount(YEAR, False(), 'Local 1') = 1 and GetSelectedCount(MONTH, False(), 'Local 1') = 1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum({[Local 1]&amp;lt;REPORT_ID = {1}, MONTH = {"&amp;gt;=$(=AddMonths(Max({$} MONTH), -2))&amp;lt;=$(=AddMonths(Max({1}MONTH), 0))"}, SOURCE_ID = {1}, TARGET_ID = {2}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;, DATE&amp;gt;} SOURCE_COUNT),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;Sum({[Local 1]&amp;lt;REPORT_ID = {1}, SOURCE_ID = {1}, TARGET_ID = {2&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;}, DATE = $::DATE&amp;gt;} SOURCE_COUNT))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 10:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093798#M932629</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-09T10:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093799#M932630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your response , Please find the Sample Qvw application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost Exact requirement I have , In the Qvw I have clearly mentioned the Global filters , section wise filters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried in the following way : 1. global filters are in Default state , 2. section wise filters are in that particular state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. and all the charts in default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please leave your comments here only , I don't have a Named CAL&amp;nbsp; to open the Qvw.&lt;/P&gt;&lt;P&gt;Correct our Expression.&lt;/P&gt;&lt;P&gt;requirement is : for global filters the Entire report have to filter , where as for section wise filters only that particular section have to be filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 12:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093799#M932630</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-09T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093800#M932631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to override the global filters when you select local filters? If yes, then try these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(MONTH, False(),'state1') = 1 and&amp;nbsp; GetSelectedCount(Year, False(),'state1') = 1, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state1&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state1}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state1}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;MONTH = $::MONTH , Year = $::Year &amp;gt;} SUCCESS_RATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(MONTH, False(),'state2') = 1 and&amp;nbsp; GetSelectedCount(Year, False(),'state2') = 1, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state2&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state2}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state2}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;MONTH = $::MONTH , Year = $::Year &amp;gt;} SUCCESS_RATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 13:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093800#M932631</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-09T13:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093801#M932632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once again Thank you very much sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes now we are able to override the selections with small confusion &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, can you please share that sample that you worked on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will Open it by using personal edition , I think in PE we will get 4 chances to open other applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 18:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093801#M932632</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-09T18:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093802#M932633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sure can.&lt;/P&gt;&lt;P&gt;What is the confusion. May be I can help you without you needing to open the document &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 18:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093802#M932633</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-09T18:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093803#M932634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your shared Qvw , for the first time when you select global filters like year and month we are getting only one month data.&lt;/P&gt;&lt;P&gt;But Our requirement is when we select any one value from each of the global filters we have to get the last 3 months data including the selected month. and if we select 2 values from any one filter then have to show the data as per the selections no need of last 3 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after selecting the global filters , if we select section 1 filters then it has to override the global filters and same again i.e&amp;nbsp; if one value from each of the section wise filters selected then it has to show last 3&amp;nbsp; months data otherwise normal as per the selection...&lt;/P&gt;&lt;P&gt;and we want the same kind of response when we from global to section and section to global filters.&lt;/P&gt;&lt;P&gt;Seems like we are taking your valuable time , but we are helpless on this issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please try and shared the final Doc.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093803#M932634</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-10T14:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093804#M932635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is what I have for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for State 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(Year, False(), 'state1') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH, False(), 'state1') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state1&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state1}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state1}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state1} SUCCESS_RATE)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(GetSelectedCount(Year) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(SUCCESS_RATE))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculation Condition on General tab for State1 Chart:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GetSelectedCount(MONTH) &amp;gt; 0 and&amp;nbsp; GetSelectedCount(Year) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for State2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount(Year, False(), 'state2') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH, False(), 'state2') = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state2&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({state2}DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max({state2}DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({state2} SUCCESS_RATE)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(GetSelectedCount(Year) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(GetSelectedCount(MONTH) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;DATE ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE),-2), 'M/D/YYYY h:mm:ss TT')) &amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE),0), 'M/D/YYYY h:mm:ss TT'))"}, Year, MONTH&amp;gt;} SUCCESS_RATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(SUCCESS_RATE))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Calculation Condition on General tab for State2 Chart:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;GetSelectedCount(MONTH) &amp;gt; 0 and&amp;nbsp; GetSelectedCount(Year) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Demonstration for state 1 chart:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1) Selection in global filter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117627_Capture.PNG" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2) 2 month selection in global filter&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/117629_Capture.PNG" style="height: 397px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;3) Selection made in state1 filters (overriding the global filters)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/117630_Capture.PNG" style="height: 410px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) 2 month selection in state2 filter&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/117631_Capture.PNG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093804#M932635</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093805#M932636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Sunny T,&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its working fine now , can you please&amp;nbsp; rewrite the Expression by including the Environment ID in the Filters,&lt;/P&gt;&lt;P&gt;I mean we have 4 filters totally , EnvID , Year , Month and date..but in the sample I shared I have given only 2 filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when we select any one value from each drop down then only the chart has to display. so finally&amp;nbsp; to display the chart every drop down have some selection.&lt;/P&gt;&lt;P&gt;2. and I have to mention source ID = 500&amp;nbsp; and Target ID = 102&amp;nbsp; in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please include the above the send the Expression.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 15:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093805#M932636</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-13T15:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093806#M932637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishal have you tried doing that at your end? I don't mind helping you, but there are two problems here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) If I spoon feed you everything how are you going to learn? Give it some try and see if you get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Not having the application in front of me might make it difficult to get it precisely as you want. May be if you do it on your own, you can get it right the very first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't get me wrong my friend, I am more than willing to help you out, but my suggestion to you is, give it a shot 3-4 times and see if you can get it work on your own end. If then it doesn't work, I will be more than happy to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 15:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093806#M932637</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-13T15:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093807#M932638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We implemented your thought in our application , thanks for the help and encouragement &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;,&amp;nbsp; we are able to over ride the selections of global filters with section filters but we are unable to do in reverse .i.e after selecting&amp;nbsp; the filters at&amp;nbsp; section level , when we select any value from global filter we are unable to clear the section wise filters...&lt;/P&gt;&lt;P&gt;as you know we have to clear all the section level filters when some value is selected from global filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any work around for that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093807#M932638</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-15T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093808#M932639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for a way so that if after making selections in local filters, the user change their selections in global filter, the application will start changing based on the global filters ignoring local filters? AFAIK this is not something we can do in QlikView and I would think that to be very confusing for the users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093808#M932639</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-15T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093809#M932640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Correct , I conveyed the same in the Discussion and come up with a new Way to show this.&lt;/P&gt;&lt;P&gt;Please look into the Below image.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118689_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;is it possible to show in the above method. its all about comparing reports in different Env, year , Month and Dates...&lt;/P&gt;&lt;P&gt;here the global and report 1 filters are in sink (default state ), and the report 2 , report 3 filters are in alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the first time when the user selected above selections in global filters then we have to show its previous months in Report2 and Previous to&amp;nbsp; previous in report 3.after that is it possible to customize the selections for report 2 and Report 3 by keeping the Report 1 in same selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Respond with work around if it is possible. we are unable to include 2 states in one Exp.&lt;/P&gt;&lt;P&gt;adding the sample Qvw in the main thread (sample for alternate states) , please look into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 11:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093809#M932640</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-20T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093810#M932641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this meets your requirement &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When selections have been made in all three states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118730_Capture.PNG" style="height: 248px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When its only made in inherited state:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118731_Capture.PNG" style="height: 248px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When its made in Group 1 and Inherited:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/118732_Capture.PNG" style="height: 249px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So on and so forth....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression Used:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATE2 ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE2), 0),'M/D/YYYY h:mm:ss TT'))&amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE2), 0),'M/D/YYYY h:mm:ss TT'))"},YEAR,MONTH &amp;gt;} [Source count]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(GetCurrentSelections(Chr(10), ': ', ',', 10000, 'Group 1'))) &amp;gt; 0, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({[Group 1]&amp;lt;DATE2 ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({[Group 1]}DATE2), 0),'M/D/YYYY h:mm:ss TT'))&amp;lt;=$(=TimeStamp(MonthEnd(Max({[Group 1]}DATE2), 0),'M/D/YYYY h:mm:ss TT'))"},YEAR,MONTH &amp;gt;} [Source count]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATE2 ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE2),-1),'M/D/YYYY h:mm:ss TT'))&amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE2),-1),'M/D/YYYY h:mm:ss TT'))"},YEAR,MONTH &amp;gt;} [Source count])),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(GetCurrentSelections(Chr(10), ': ', ',', 10000, 'Group 2'))) &amp;gt; 0, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({[Group 2]&amp;lt;DATE2 ={"&amp;gt;=$(=TimeStamp(MonthStart(Max({[Group 2]}DATE2), 0),'M/D/YYYY h:mm:ss TT'))&amp;lt;=$(=TimeStamp(MonthEnd(Max({[Group 2]}DATE2), 0),'M/D/YYYY h:mm:ss TT'))"},YEAR,MONTH &amp;gt;} [Source count]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATE2 ={"&amp;gt;=$(=TimeStamp(MonthStart(Max(DATE2),-2),'M/D/YYYY h:mm:ss TT'))&amp;lt;=$(=TimeStamp(MonthEnd(Max(DATE2),-2),'M/D/YYYY h:mm:ss TT'))"},YEAR,MONTH &amp;gt;} [Source count])))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 23:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093810#M932641</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-20T23:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on alternate states with set analysis....?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093811#M932642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; you are awesome man, I want to learn from you, Please let me know your blogs and books If you have any...&lt;/P&gt;&lt;P&gt;want to follow you please send your twitter name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 06:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-alternate-states-with-set-analysis/m-p/1093811#M932642</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2016-03-25T06:17:36Z</dc:date>
    </item>
  </channel>
</rss>

