<?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: Dynamic Chart (VB Script) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317822#M587226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you send me the qvw with file and 4 charts which you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes due to volume of data it may take time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 May 2011 17:06:15 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-05-21T17:06:15Z</dc:date>
    <item>
      <title>Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317818#M587222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;I have a requirement to generate &lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt;4 dynamic charts&lt;/STRONG&gt;&lt;/SPAN&gt; based on the user selection. So I had decided to use &lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt;$Field&lt;/STRONG&gt;&lt;/SPAN&gt; to display all dimension fields and then I wanted the user to select dimensions. Then my charts should populate based on the dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;I had started to write some VB Script but I need more help on this... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;Sub Dynamic_Chart_Dimension_01&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;Set MyChart = ActiveDocument.GetSheetObject("CH67")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;MyChart.SetReference&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;MyChart.AddDimension "Gender"&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;-- This line of code now adds dimension &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;MyChart.AddExpression "COUNT(Resp_ID)"&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;-- This line adds expression&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;End Sub&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;~Here is what I need...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;1. I wanted to check if there is already dimension then the VB Script should replace the Dimension. However, if there is no Dimension then we need to add one. So it should simple IF, ELSE &amp;amp; End IF construct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;2. Instead of using "Gender" as dimension I wanted an expression... something like the first selection from the list box. And for the next Chart the script should take the second selection from the list box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Many thanks in anticipation!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 08:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317818#M587222</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-21T08:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317819#M587223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am here by uploading an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this is what you are looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 10:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317819#M587223</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-21T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317820#M587224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaushik - Thanks mate. This is almost what I wanted to do... However, there couple things which are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What is the easiest way to replicate the same for 4 charts? I have charts in my sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. This does not work immediately. I mean if I select a dimension it does not show the breakdown immediately. It shows only after I select one more dimension. I guess this is because of volume of data. I have my dataset with 10 million records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you think of a method to refresh the chart immediately after pressing the button. (Although it works fine in your example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 13:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317820#M587224</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-05-21T13:50:07Z</dc:date>
    </item>
    <item>
      <title>Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317821#M587225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you consider using cyclic group as dimension? This will help you select any one dimension dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the same cyclic group in all your four charts,choosing a dimension in one chart will result in choosing the same dimension in other three charts automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 14:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317821#M587225</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-05-21T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317822#M587226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can you send me the qvw with file and 4 charts which you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes due to volume of data it may take time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 17:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317822#M587226</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-21T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317823#M587227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Dear Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I hope you are doing well, This is kumar and i am new to the qlikview,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Kindly help me out with below problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have two table 1 and 2 with filed names A, B, i want to create relation b/w fields A and A, then update Table 1 field B with Table 2 Field B Values, Which is same as MS Access update query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks&lt;/P&gt;&lt;P style="text-align: left;"&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 00:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317823#M587227</guid>
      <dc:creator />
      <dc:date>2013-03-27T00:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Chart (VB Script)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317824#M587228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Dear Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I hope you are doing well, This is kumar and i am new to the qlikview,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Kindly help me out with below problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have two table 1 and 2 with filed names A, B, i want to create relation b/w fields A and A, then update Table 1 field B with Table 2 Field B Values, Which is same as MS Access update query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks&lt;/P&gt;&lt;P style="text-align: left;"&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 00:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-VB-Script/m-p/317824#M587228</guid>
      <dc:creator />
      <dc:date>2013-03-27T00:59:56Z</dc:date>
    </item>
  </channel>
</rss>

