<?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 do you get a measures expression from Hypercube? and is it possible to change it? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813743#M2707</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'm new to extension and Javascript in general. Have started poking around and experimenting with extensions. &lt;/P&gt;&lt;P&gt;I am wondering if it's possible to retrieve the expression of a measure and change it.&lt;/P&gt;&lt;P&gt;And if it's possible how, where and when should you do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 22:00:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-11T22:00:41Z</dc:date>
    <item>
      <title>How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813743#M2707</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'm new to extension and Javascript in general. Have started poking around and experimenting with extensions. &lt;/P&gt;&lt;P&gt;I am wondering if it's possible to retrieve the expression of a measure and change it.&lt;/P&gt;&lt;P&gt;And if it's possible how, where and when should you do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 22:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813743#M2707</guid>
      <dc:creator />
      <dc:date>2014-11-11T22:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813744#M2708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All measures informations come in : layout.qHyperCube.qMeasureInfo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Backend API GetMeasureInfos will also return measures informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingExtensions/API/backendApi/MethodGetMeasureInfos.htm%3FTocPath%3DQlik%2520Sense%2520Workbench%7CAPI%2520reference%7CQlik%2520Sense%2520Backend%2520API%2520reference%7C_____10" title="https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingExtensions/API/backendApi/MethodGetMeasureInfos.htm%3FTocPath%3DQlik%2520Sense%2520Workbench%7CAPI%2520reference%7CQlik%2520Sense%2520Backend%2520API%2520reference%7C_____10"&gt;https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingExtensions/API/backendApi/MethodGet…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modifying an expression syntax will require use of Mashup API, a good starting point is the createCube method : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingWebsites/API/Methods/MethodCreateCube.htm%3FTocPath%3DQlik%2520Sense%2520Workbench%7CAPI%2520reference%7CQlik%2520Sense%2520Mashups%2520API%2520reference%7Cqlik.app%7C_____3" title="https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingWebsites/API/Methods/MethodCreateCube.htm%3FTocPath%3DQlik%2520Sense%2520Workbench%7CAPI%2520reference%7CQlik%2520Sense%2520Mashups%2520API%2520reference%7Cqlik.app%7C_____3"&gt;https://help.qlik.com/sense/en-US/developer/#../Subsystems/Workbench/Content/BuildingWebsites/API/Methods/MethodCreateCu…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 09:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813744#M2708</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2014-11-12T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813745#M2709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;You could check out &lt;A _jive_internal="true" href="https://community.qlik.com/message/644646#644646"&gt;this thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do getProperties() in an extension with a qHyperCubeDef you will get a structure thats described &lt;A href="http://help.qlik.com/sense/en-us/developer/#../Subsystems/Qlik_Engine_API/Content/GenericObject/PropertyLevel/HyperCubeDef.htm%3FTocPath%3DQlik%2520Engine%2520API%7CGeneric%2520object%2520definition%7CProperties%2520that%2520can%2520be%2520set%7C_____7"&gt;here&lt;/A&gt;. The measure will be in qMeasures[index].qDef. Modify it and call setProperties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14158026345352962" jivemacro_uid="_14158026345352962" modifiedtitle="true"&gt;
&lt;P&gt;var me = this;&lt;/P&gt;
&lt;P&gt;this.backendApi.getProperties().then(function(reply){&lt;/P&gt;
&lt;P&gt;reply.qHyperCubeDef.qMeasures[0].qDef.qDef = '1+1'; //your new expression&lt;/P&gt;
&lt;P&gt;me.backendApi.setProperties(reply);&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that both setProperties and getProperties are asynchronous calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: added the trailing );&lt;/P&gt;&lt;P&gt;edit2: added another qDef..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 12:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813745#M2709</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2014-11-12T12:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813746#M2710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erik!&lt;/P&gt;&lt;P&gt;There where a type-o in your answer code, so for future readers could you add ); to the end of the codesnippet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 13:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813746#M2710</guid>
      <dc:creator />
      <dc:date>2014-11-12T13:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813747#M2711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, fixed. Thanks for pointing that out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 13:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813747#M2711</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2014-11-12T13:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813748#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found one more thing, there where a qDef missing also. Got a JSON Parse error&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;reply.qHyperCubeDef.qMeasures[&lt;SPAN class="number" style="font-weight: inherit; font-style: inherit; color: green; font-size: 9pt !important; background-color: inherit;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;].qDef.qDef = &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; font-size: 9pt !important; background-color: inherit;"&gt;'1+1'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;; &lt;/SPAN&gt;&lt;SPAN class="comment" style="font-weight: inherit; font-style: inherit; color: #008200; font-size: 9pt !important; background-color: inherit;"&gt;//your new expression&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813748#M2712</guid>
      <dc:creator />
      <dc:date>2014-11-12T14:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813749#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more question, is there a notification when the properties in a hypercube changes?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;What I am trying to do is add a set analsysis to a measure and only wan't to do that once every time the user changes/adds a measure.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813749#M2713</guid>
      <dc:creator />
      <dc:date>2014-11-12T14:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813750#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get a change notification in the form of a call to the paint method on all invalidations of the object. changing properties are one action that will invalidate for you. reload of data and change of related selections are other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813750#M2714</guid>
      <dc:creator />
      <dc:date>2014-11-12T14:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813751#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Javascript knowledge is very limited. I don't understand what you mean, could you explain with a code snippet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813751#M2715</guid>
      <dc:creator />
      <dc:date>2014-11-12T14:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813752#M2716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14158040886548674" jivemacro_uid="_14158040886548674" modifiedtitle="true"&gt;
&lt;P&gt;define( [&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;function ( ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; paint: function () {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // This segment will be called every time &lt;/P&gt;
&lt;P&gt;&amp;nbsp; // the visualization needs to handle the&lt;/P&gt;
&lt;P&gt;&amp;nbsp; // change induced by an invalidation&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; };&lt;/P&gt;
&lt;P&gt;} );&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 14:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813752#M2716</guid>
      <dc:creator />
      <dc:date>2014-11-12T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813753#M2717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha, but there is no specific notification for changes in properties?&lt;/P&gt;&lt;P&gt;So I need to cache my properties and check if they have changed since last time paint was invoked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 15:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813753#M2717</guid>
      <dc:creator />
      <dc:date>2014-11-12T15:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813754#M2718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct. Perhaps something that will be adressed in a later version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 00:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813754#M2718</guid>
      <dc:creator />
      <dc:date>2014-11-13T00:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813755#M2719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the references.&lt;/P&gt;&lt;P&gt;qMeasureInfo doesn't include the qDef with the expression as far as I can see. Maybe it should be added in a future release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the Mashup API, for a beginner the name of the API is confusing. I thought it where only to be used when creating Mashups. But it's not, right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experimenting with an extension and I want to create 2 new measures based of the measure from the layouts hypercube with some additional set analsysis added. Is it best practise to create another hypercube with the new measures using app.createCube()? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 08:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813755#M2719</guid>
      <dc:creator />
      <dc:date>2014-11-13T08:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813756#M2720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carl,&lt;/P&gt;&lt;P&gt;No you should in most cases not use createCube etc in your extension, they are designed for the pure mashup case, with a web page that connects to Qlik Sense. In an extension you define your hypercube in initialproperties instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not ready with an API to do this, but you could probably make a partial solution in paint. You would then need to check how many measures are defined and if your extra measures are not there add them. Something like this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14158739645277387" jivemacro_uid="_14158739645277387" modifiedtitle="true"&gt;
&lt;P&gt;paint : function($element, layout) {&lt;/P&gt;
&lt;P&gt;if(this.backendApi.getMeasureInfos().length === 1){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //only do this if there is only one measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var me = this;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.backendApi.getProperties().then(function(reply){&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reply.qHyperCubeDef.qMeasures.push({......}); //add measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; me.backendApi.setProperties(reply);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //probably dont want to paint with just one measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;//painting with no or several measures&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there are some problems with this...The user might not have update rights to the visualization. Also if the user modifies the measure it will probably not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 10:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813756#M2720</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2014-11-13T10:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813757#M2721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get it, and I should probaly work on the visualisation part of my extension instead until the API is more fleshed out.&lt;/P&gt;&lt;P&gt;Do you have a roadmap for the public?&lt;/P&gt;&lt;P&gt;Alot of companies I have seen share their roadmaps on Trello. A great way for the community to see what's coming and a rough when.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 11:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813757#M2721</guid>
      <dc:creator />
      <dc:date>2014-11-13T11:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How do you get a measures expression from Hypercube? and is it possible to change it?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813758#M2722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made some digging around and found that you can use change and globalChange in properties that seems to works as I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14165713471832785" jivemacro_uid="_14165713471832785" modifiedtitle="true"&gt;
&lt;P&gt;change : function(data) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updateStuff(data);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain what's the difference between change and globalChange?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 12:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-measures-expression-from-Hypercube-and-is-it/m-p/813758#M2722</guid>
      <dc:creator />
      <dc:date>2014-11-21T12:03:34Z</dc:date>
    </item>
  </channel>
</rss>

