<?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 Dynamic charting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160481#M34743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John&lt;/P&gt;&lt;P&gt;Thanks for your input. Yes I have thought of using conditional show, however that will require the expression to be created beforehand, and need to know how many periods are there, and then put a conditional show.&lt;/P&gt;&lt;P&gt;If i want to do it dynamically to automatically create the expression, just based on my period count, do i need to create a loop or some sort for i=i to selectedperiod_count, create expression:&lt;/P&gt;&lt;P&gt;IMM($i)sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'$&lt;I&gt;i&lt;/I&gt;'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2011 00:43:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-15T00:43:21Z</dc:date>
    <item>
      <title>Dynamic charting</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160479#M34741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am working on a requirement where we need to create a chart which dynamically adds/removes dimensions or calculations based on selections made. I have seen a sample dynamic charting app but it involves heavy macros and i am not familiar with VB.&lt;/P&gt;&lt;P&gt;What i need to do is, say (Period Count) is my selection.&lt;/P&gt;&lt;P&gt;&lt;B&gt;For Period Count = 5, the chart shall display the following,&lt;/B&gt;&lt;BR /&gt;ExpressionA = sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'0'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;1= sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'1'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;2= sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'1'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;5= sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'5'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;For Period Count = 3, the chart shall display the following,&lt;/B&gt;&lt;BR /&gt;ExpressionA = sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'0'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;1= sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'1'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;3= sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'3'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3798_sourceID:3798" /&gt;&lt;/P&gt;&lt;P&gt;Sample screenshot above is how the straight table chart should look like but when i select period =5, i am supposed to dynamically see 5 more additional columns IMM1, IMM2, IMM3, IMM4, IMM5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone out there help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 20:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160479#M34741</guid>
      <dc:creator />
      <dc:date>2011-03-14T20:45:25Z</dc:date>
    </item>
    <item>
      <title>Dynamic charting</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160480#M34742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're basically just selecting how many of the expressions to show?&lt;/P&gt;&lt;P&gt;Put a conditional show on each expression. For instance, for expression IMM3:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;IMM_Period_Count &amp;gt;= 3&lt;/P&gt;&lt;P&gt;But looking at your data, it looks like CURVE_POINT_FACTORS._PERIOD ought to just be selectable and a dimension. Not sure why you're using set analysis and dynamically showing expressions here. It seems like a lot of trouble to do something that should be very simple with another dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 20:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160480#M34742</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-14T20:53:12Z</dc:date>
    </item>
    <item>
      <title>Dynamic charting</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160481#M34743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John&lt;/P&gt;&lt;P&gt;Thanks for your input. Yes I have thought of using conditional show, however that will require the expression to be created beforehand, and need to know how many periods are there, and then put a conditional show.&lt;/P&gt;&lt;P&gt;If i want to do it dynamically to automatically create the expression, just based on my period count, do i need to create a loop or some sort for i=i to selectedperiod_count, create expression:&lt;/P&gt;&lt;P&gt;IMM($i)sum({&amp;lt;CURVE_POINT_FACTORS._PERIOD = {'$&lt;I&gt;i&lt;/I&gt;'}&amp;gt;} (QTY_ORIGINAL * CURVE_POINT_FACTORS._FACTOR))&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 00:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160481#M34743</guid>
      <dc:creator />
      <dc:date>2011-03-15T00:43:21Z</dc:date>
    </item>
    <item>
      <title>Dynamic charting</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160482#M34744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be possible, but it sounds like it would be a fairly complicated macro.&lt;/P&gt;&lt;P&gt;What is preventing you from just adding CURVE_POINT_FACTORS._PERIOD as a dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 00:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-charting/m-p/160482#M34744</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-16T00:51:22Z</dc:date>
    </item>
  </channel>
</rss>

