<?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: Selection in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340125#M125544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;I used this code and its working fine.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sub abc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; if ActiveDocument.GetSheetObject("CH01").IsActive then&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; set x = ActiveDocument.GetCurrentSelections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; s = x.Selections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; v = x.VarId&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; for i = lbound(s) to ubound(s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; if v(i) = "Plan" then&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; ActiveDocument.ActivateSheetByID "SH02"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; end if&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; end if&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;end sub &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;But can i do it without using macro&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 12:38:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-09T12:38:17Z</dc:date>
    <item>
      <title>Selection in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340122#M125541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called Plan under which i have many plans. The same field i have used for creation of two charts where that plan is used as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i select a Plan in Chart 1 i want that to take me to other sheet but if i select the same plan in chart2 i want to remain in the same sheet. how that can be done ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample QVW file. Right now selection in both the chart is taking me to next sheet. I want only chart 1 to take me to next sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 07:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340122#M125541</guid>
      <dc:creator />
      <dc:date>2012-07-09T07:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340123#M125542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Find the attachment.Is that you looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 07:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340123#M125542</guid>
      <dc:creator />
      <dc:date>2012-07-09T07:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340124#M125543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My requirement is that when i click on any plan in Chart 1 it shouls take me to next sheet and if i click on any plan in chart 2 it should remain in the same sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 09:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340124#M125543</guid>
      <dc:creator />
      <dc:date>2012-07-09T09:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Selection in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340125#M125544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;I used this code and its working fine.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sub abc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; if ActiveDocument.GetSheetObject("CH01").IsActive then&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; set x = ActiveDocument.GetCurrentSelections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; s = x.Selections&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; v = x.VarId&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; for i = lbound(s) to ubound(s)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; if v(i) = "Plan" then&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; ActiveDocument.ActivateSheetByID "SH02"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; end if&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; end if&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;end sub &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;But can i do it without using macro&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 12:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-in-Chart/m-p/340125#M125544</guid>
      <dc:creator />
      <dc:date>2012-07-09T12:38:17Z</dc:date>
    </item>
  </channel>
</rss>

