<?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: To add chart expressions automatically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782236#M1209619</link>
    <description>&lt;P&gt;What about an action button that adds a new variable (that saves the expression)?&lt;BR /&gt;Do you have an alternative other than loading scripts to add expressions to charts?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 09:52:51 GMT</pubDate>
    <dc:creator>AmCh</dc:creator>
    <dc:date>2021-02-12T09:52:51Z</dc:date>
    <item>
      <title>To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1781971#M1209574</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I have customised my chart with the following properties:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AmCh_0-1613045960718.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48911i45E2978A44A687B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AmCh_0-1613045960718.png" alt="AmCh_0-1613045960718.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My goal: Expressions (with their condition, label and definition -variable-) can be added automatically on each script load.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;//condition=GetFieldSelections(Systems)='x' and GetFieldSelections([Maintenance costs])='Corrective maintenance costs'&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My variables (e.g. CM_Annual_x) are already automatically generated on each script load.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Can someone help me?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Many thanks in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 12:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1781971#M1209574</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2021-02-11T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782167#M1209607</link>
      <description>&lt;P&gt;i dont think loading scripts will add expressions in charts.&amp;nbsp; the only case ive seen where data in a way drives the number of expressions is in a pivot.&amp;nbsp; maybe you can remodel your data&amp;nbsp; and use pivot in your chart&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 00:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782167#M1209607</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-12T00:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782236#M1209619</link>
      <description>&lt;P&gt;What about an action button that adds a new variable (that saves the expression)?&lt;BR /&gt;Do you have an alternative other than loading scripts to add expressions to charts?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 09:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782236#M1209619</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2021-02-12T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782312#M1209629</link>
      <description>&lt;P&gt;Expressions are manually added to a chart at &lt;EM&gt;&lt;STRONG&gt;dev time&lt;/STRONG&gt;&lt;/EM&gt; not at run time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the user experience that drives this requirement?&amp;nbsp; if you articulate the pure business requirement maybe that will help others understand what the underlying objective is&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 14:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1782312#M1209629</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-02-12T14:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783080#M1209724</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Since the amount of data is always changing, I am looking for a way to make the developer's task more efficient, because I am talking about adding a large amount of expressions to the chart in a daily basis.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;It has nothing with the user experience.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783080#M1209724</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2021-02-16T15:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783440#M1209756</link>
      <description>&lt;P&gt;It's not possible to add/change/remove UI objects or parts of it with the script. But it could be done with macros. Another possibility would be to add and/or manipulate the content of the prj-folder.&lt;/P&gt;&lt;P&gt;Whereby I wouldn't recommend it because it wouldn't make anything easier or more efficient else it goes definitely in the opposite direction. And this is mainly independent of the way of doing it (assuming that you would be quite experienced in the methods I mentioned because otherwise you would need some time to learn it and a more or less part of trial &amp;amp; error to get a stable implementation) because the most expensive part is the needed administrative overhead.&lt;/P&gt;&lt;P&gt;If you want to simplify the developer work it would be better to rethink the datamodel and the usability.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 13:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783440#M1209756</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-17T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783483#M1209764</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;In summary:,there are two ways to solve this/modify UI objects: &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;1. with macros. Can you give me an introduction on how to do this? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;2. rethinking the data model: what do you concretely mean by 'rethinking' in this case?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you in advance.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 15:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783483#M1209764</guid>
      <dc:creator>AmCh</dc:creator>
      <dc:date>2021-02-17T15:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: To add chart expressions automatically</title>
      <link>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783495#M1209768</link>
      <description>&lt;P&gt;To start with macros take a look on the APIGuide.qvw within your install-folder by automation which gives you a good overview about the object-model and has also many examples and explanations.&lt;/P&gt;&lt;P&gt;Usually a finalized application needs not much attention from the developer - there will be occasionally some new/changed requirements which may require some adjustments on the application. So accessing an application maybe 10 times in a year for changes which in 8 times are a matter of a few minutes don't justify such large overhead with so much more complexity.&lt;/P&gt;&lt;P&gt;If your application needs regularly adjustments it hints on an unsuitable datamodel - for example if it contains crosstable-structures in which each new date or new product creates a new field or something similar. In this case it would be really a never ending story ... Better would in this case be to transform the crosstable into a "normal" table.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 15:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-add-chart-expressions-automatically/m-p/1783495#M1209768</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-17T15:26:41Z</dc:date>
    </item>
  </channel>
</rss>

