<?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 How can i achieve the chart expression in script editor itself? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365745#M418005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Hi People,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;can any one have the idea about achieve an chart expression in script editor itself?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;below is the expression which i would like to get in the script itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;VersDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {'Adjust','Actual'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalTypKey&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'1'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalPer&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {1},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'&amp;lt;=$(=max(Cal_Mon))'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;CPTeaFlag&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'CP','RPL','ORG'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;DayNumInMon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {'&amp;lt;=$(=max(DayNumInMon))'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;DayofWeek&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalVal&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))/1000&lt;BR /&gt; )&lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;"&amp;lt;=$(=max(Cal_Mon))"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;FName&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))&lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;"&amp;lt;=$(=max(Cal_Mon))"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))),'#,##0')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Can&amp;nbsp; you guys&amp;nbsp; help me&amp;nbsp; how can i achieve this.... ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Hemanth&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 06:46:30 GMT</pubDate>
    <dc:creator>hemanthaanichet</dc:creator>
    <dc:date>2017-08-08T06:46:30Z</dc:date>
    <item>
      <title>How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365745#M418005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Hi People,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;can any one have the idea about achieve an chart expression in script editor itself?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;below is the expression which i would like to get in the script itself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;VersDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {'Adjust','Actual'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalTypKey&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'1'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalPer&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {1},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'&amp;lt;=$(=max(Cal_Mon))'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;CPTeaFlag&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'CP','RPL','ORG'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;DayNumInMon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {'&amp;lt;=$(=max(DayNumInMon))'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;DayofWeek&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;SalVal&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))/1000&lt;BR /&gt; )&lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;"&amp;lt;=$(=max(Cal_Mon))"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;FName&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))&lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Cal_Mon&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;"&amp;lt;=$(=max(Cal_Mon))"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;RegDesc&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'*'},&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ACode&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;))),'#,##0')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Can&amp;nbsp; you guys&amp;nbsp; help me&amp;nbsp; how can i achieve this.... ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;Hemanth&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 06:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365745#M418005</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T06:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365746#M418006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any specific reason to do it in script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 06:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365746#M418006</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-08T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365747#M418007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah there is reason the values are constant when i get into the chart and it wont change whenever a slection is done...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 07:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365747#M418007</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365748#M418008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not understand &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; "&lt;STRONG&gt;the values are constant when i get into the chart"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"and it wont change whenever a slection is done" -&amp;gt; &lt;/STRONG&gt;Your data model is associative so, whatever selection you do, chart will reflect the values based on selection&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 09:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365748#M418008</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-08T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365749#M418009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not entirely sure what you are trying to achieve - is it just a case of maintaining the expression in the script?&amp;nbsp; If so, then just create the expression as a variable, then call it from your expression dialogue box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET myExpression = sum({&amp;lt;country=&amp;gt;}Transactions);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: $(myExpression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 09:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365749#M418009</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2017-08-08T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365750#M418010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly the data model is associative, whatever the selection i do the chart will reflection the values based on selection.&lt;/P&gt;&lt;P&gt;But my point of view is that the values should be constant whatever the selection i do. so that if i get this calculation in the script editor itself then the values are constant whatever the selection i made in the dashboard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365750#M418010</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365751#M418011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u give me a example....?? . so that i can understand in clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365751#M418011</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T10:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365752#M418012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to keep a static/Constant&amp;nbsp; table then I suggest ValueList.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/49885"&gt;What is ValueList?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365752#M418012</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-08-08T10:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365753#M418013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, in your script, just add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15021873425151600 jive_text_macro" jivemacro_uid="_15021873425151600" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SET myExpression = sum({&amp;lt;country=&amp;gt;}Transactions);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the expression window of your object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172771_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then go one step further and create all of your expressions as variables and maintain them in an external CSV or Excel.&amp;nbsp; Here's a link to some script I wrote to show you how to then process all that into variables: &lt;A href="https://gist.github.com/gsbeaton/8a9605e411ad2d10eaefe1876f3e03c2" title="https://gist.github.com/gsbeaton/8a9605e411ad2d10eaefe1876f3e03c2"&gt;A QlikView and QlikSense script to generate variables from a CSV include. · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365753#M418013</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2017-08-08T10:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365754#M418014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working george.. actually my aim of doing this for my role base security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example the above expression will give a value as 500 for whole india (Banglore, delhi, chennai, mumbai, hyderabad).&lt;/P&gt;&lt;P&gt;when i give role base security it splits according to the role base security like banglore =100, delhi =100, chennai =100, mumbai= 100 , hyderabad=100.&lt;/P&gt;&lt;P&gt;But what i would like to show is whatever my role based security still my expression has to show 500 but not 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365754#M418014</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T10:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365755#M418015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, well then this is something very different.&lt;/P&gt;&lt;P&gt;So, what you want to do is prepare some totals in the script.  Your&lt;/P&gt;&lt;P&gt;expression is not going to work here.&lt;/P&gt;&lt;P&gt;You will need to create a new column of totals that each user has access to&lt;/P&gt;&lt;P&gt;and then use that in your expressions for showing totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, Aug 8, 2017 at 11:54 AM, Hemanth Aanichetty &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 11:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365755#M418015</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2017-08-08T11:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365756#M418016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as exactly&amp;nbsp; u said&amp;nbsp; i need the same but some suggestions or ideas how i can start this .... in a very big dilemma... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 11:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365756#M418016</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-08-08T11:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can i achieve the chart expression in script editor itself?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365757#M418017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're going to have to figure out how you can update your data model to incorporate this change.&lt;/P&gt;&lt;P&gt;There are a lot of possible solutions, and without knowing the specifics of your problem, it's impossible to specify an exact solution, but I would imagine that you will have to do some kind of aggregation on your original data set before joining back in.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1502201259129654 jive_text_macro" jivemacro_uid="_1502201259129654" modifiedtitle="true"&gt;
&lt;P&gt;// Create a mapping table containing your aggregated values&lt;/P&gt;
&lt;P&gt;MappingTable:&lt;/P&gt;
&lt;P&gt;Mapping Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Country&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ,Sum(Sales)&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from datasource.QVD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group By Country;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Map in the totals for each country&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;MainTable:&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; Country&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ,Sales&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ,SecurityKey&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; ,ApplyMap('MappingTable', Country) AS TotalForCountry&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;from datasource.QVD;&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In your expressions, you will have to be cognisant of the fact that you cannot aggregate your TotalForCountry column, so you will have to consider functions such as Only() or FirstSortedValue if your expression returns multiple values.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Hope this gets you started.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-achieve-the-chart-expression-in-script-editor-itself/m-p/1365757#M418017</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2017-08-08T14:08:03Z</dc:date>
    </item>
  </channel>
</rss>

