<?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. :open chart when certain field is selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260038#M1207731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to use the conditionnal show in your layout tab and formulas (GetFieldSelections(), GetPossibleCount(), Only()...)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3718.QC.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3718.QC.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 May 2010 13:25:54 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2010-05-31T13:25:54Z</dc:date>
    <item>
      <title>open chart when certain field is selected</title>
      <link>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260037#M1207730</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 have a list box with a few indexes and a few chart which have sence only with selected index&lt;/P&gt;&lt;P&gt;Does anyone know how to realize macros wich will restore certain chart if certain field in list box is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to make my own macro,but it didn't work. I know that a have a mistake here,but I can't understand where and why..((&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Test&lt;/P&gt;&lt;P&gt;Set obj = ActiveDocument.GetSheetObject("LB02")&lt;/P&gt;&lt;P&gt;Set fld = ActiveDocument.Fields("indexes")'&lt;/P&gt;&lt;P&gt;CurrVal = ActiveDocument.Fields("indexes").GetContent.String&lt;BR /&gt;&lt;BR /&gt; if CurrVal = ActiveDocument.Fields("first_index") then&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ActiveDocument.GetSheetObject("CH03").Restore&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,Anton.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 13:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260037#M1207730</guid>
      <dc:creator />
      <dc:date>2010-05-31T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re. :open chart when certain field is selected</title>
      <link>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260038#M1207731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to use the conditionnal show in your layout tab and formulas (GetFieldSelections(), GetPossibleCount(), Only()...)&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3718.QC.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3718.QC.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 13:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260038#M1207731</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-05-31T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re. :open chart when certain field is selected</title>
      <link>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260039#M1207732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much!&lt;/P&gt;&lt;P&gt;but there is a claim that I have to make it with macro action[:'(]&lt;/P&gt;&lt;P&gt;do you know smth about it??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 14:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260039#M1207732</guid>
      <dc:creator />
      <dc:date>2010-05-31T14:31:07Z</dc:date>
    </item>
    <item>
      <title>open chart when certain field is selected</title>
      <link>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260040#M1207733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found the solution,if smbd needs:&lt;/P&gt;&lt;P&gt;Sub CHART_OPEN&lt;BR /&gt;&lt;BR /&gt; Set listBox = ActiveDocument.GetSheetObject("LB02")&lt;BR /&gt; Dim selectedCellText&lt;BR /&gt; For i = 0 To listBox.GetCardinal()-1&lt;BR /&gt; Set cell = listBox.GetCell(i,0)&lt;BR /&gt; If cell.state = 1 Then&lt;BR /&gt; selectedCellText = cell.Text&lt;BR /&gt; Exit For&lt;BR /&gt; End If&lt;BR /&gt; Next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; If selectedCellText = "first_index" Then&lt;BR /&gt; ActiveDocument.GetSheetObject("CH12").Restore&lt;/P&gt;&lt;P&gt;End If&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 19:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-chart-when-certain-field-is-selected/m-p/260040#M1207733</guid>
      <dc:creator />
      <dc:date>2010-06-04T19:50:54Z</dc:date>
    </item>
  </channel>
</rss>

