<?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: Qliksense custom measure property for extension with expression value in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966131#M3560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that expression is valid. But I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are trying to specify exactly where the evaluated expression will go within the HyperCube. But, Qlik is smart enough to put it where it is supposed to go as long as you use the correct format. As I mentioned in the post above yours, using, "&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;qAttributeExpressions.0.qExpression&lt;/SPAN&gt;" will put an evaluated expression in the HyerCube, but you'll have to go digging for it a bit (refer to my trace above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, maybe your expression will work, I don't know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 13:21:34 GMT</pubDate>
    <dc:creator>jonvitale</dc:creator>
    <dc:date>2018-03-22T13:21:34Z</dc:date>
    <item>
      <title>Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966110#M3539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a custom property for a measure in my extension&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;CustomMeasureProp:{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type:"string",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label:"Custom Measure Property",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ref:"customMeasureProperty",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expression: "optional"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the QlikSense Desktop I am able to add my extension and see the custom property when adding my measure.&lt;/P&gt;&lt;P&gt;I populate it with my EXPRESSION &lt;SPAN style="color: #ff9900;"&gt;Max(value).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE QUESTION.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;How do I access that evaluated expression through the api?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used my code&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;$scope.backendApi.getProperties().then(function(reply){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; angular.forEach(reply.qHyperCubeDef.qMeasures,function(measure){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('MEASURE',measure);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(typeof measure.&lt;SPAN style="font-size: 13.3333330154419px;"&gt;customMeasureProperty&lt;/SPAN&gt;!=='undefined'){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&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; console.log('MEASURE LABEL', measure.&lt;SPAN style="font-size: 13.3333330154419px;"&gt;customMeasureProperty&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than returning the evaluated expression when looking&amp;nbsp; at the object &lt;SPAN style="color: #3366ff;"&gt;measure.customMeasureProperty&lt;/SPAN&gt;, it returns the string &lt;SPAN style="color: #ff9900;"&gt;Max(value)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how do get the evaluated value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 18:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966110#M3539</guid>
      <dc:creator>sheldonqlik</dc:creator>
      <dc:date>2015-08-20T18:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966111#M3540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most likely you just need to add a = sign before Max(value) otherwise it's interpreted as a string.&lt;/P&gt;&lt;P&gt;You could also change the type to number if you want to ensure you get a number back and not a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no need to fetch the properties btw, the customMeasureProperty should be available on the layout object or on scope if you aren't referencing your custom property as a measure on the HyperCubeDef which is not inluded in the snippet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 19:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966111#M3540</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-20T19:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966112#M3541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am actually doing it as a custom property of a measure.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I added the '=' sign but realized that it automatically does that anyway.&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have used this code.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;$scope.backendApi.getProperties().then(function(reply){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; angular.forEach(reply.qHyperCubeDef.qMeasures,function(measure){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('MEASURE',measure);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(typeof measure.&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;customMeasureProperty&lt;/SPAN&gt;!=='undefined'){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&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; console.log('MEASURE LABEL', measure.&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;customMeasureProperty&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;Unfortunately it comes back as a&lt;/SPAN&gt;&lt;/P&gt;&lt;OL class="expanded children" style="list-style-type: none; padding-left: 12px; color: #212121; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;qStringExpression&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value object-value-object" style="color: inherit;" title="Object"&gt;Object&lt;/SPAN&gt;&lt;OL class="expanded children" style="list-style-type: none; padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;qExpr&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator"&gt;: &lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;" title="=Max(Customer)"&gt;"=Max(value)";&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;" title="=Max(Customer)"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In the object.&amp;nbsp; So I am still stuck there.&amp;nbsp; Don't know if I can get the evaluated expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966112#M3541</guid>
      <dc:creator>sheldonqlik</dc:creator>
      <dc:date>2015-08-20T20:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966113#M3542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the full definition? Also what happens when you changed the type to number instead of string?&lt;/P&gt;&lt;P&gt;A working example can be found here, line 95-102 &lt;A href="https://github.com/mindspank/WaterfallChart/blob/master/waterfall.js" title="https://github.com/mindspank/WaterfallChart/blob/master/waterfall.js"&gt;WaterfallChart/waterfall.js at master · mindspank/WaterfallChart · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A string expression wont be evaluated if ifs surrounded by single quotes so the properties panel probably interprets your input as a string since you have the type set to that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966113#M3542</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-20T20:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966114#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also set the expression property to "always" and it will never evaluate your expression as a string regardless of type.&lt;/P&gt;&lt;P&gt;You can check the documentation for that over here, &lt;A href="https://help.qlik.com/sense/2.0/en-us/developer/Subsystems/Extensions/Content/Howtos/custom-string-properties.htm" title="https://help.qlik.com/sense/2.0/en-us/developer/Subsystems/Extensions/Content/Howtos/custom-string-properties.htm"&gt;https://help.qlik.com/sense/2.0/en-us/developer/Subsystems/Extensions/Content/Howtos/custom-string-properties.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966114#M3543</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-20T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966115#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could also be the case that since you are accessing the properties of the hypercube and the not the hypercube itself that the expression has not been evaluated yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The evaluated hypercube will be accessible from the layout, $scope.layout.qHyperCube&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966115#M3544</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-20T20:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966116#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be very right.&amp;nbsp; I don't think what I am attempting to do may be possible.&amp;nbsp; But here is my definition&lt;/P&gt;&lt;P&gt;&lt;EM&gt;define([], function () {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var settings = {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uses: "settings",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; items: {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; measures : {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; uses : "measures",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; min : 1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; max : 10,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; items:{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; //allows for custom labels using functions in the measure. Can use an expression to set it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; InformationLabelProp:{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; type:"string",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; label:"Custom Label",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; ref:"props.tInformationLabel",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; expression: "always",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; defaultValue: ""&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Return values&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type: "items",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; component: "accordion",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; items: {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; settings: settings&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in my angular controller I am doing the get from the backendApi like i stated in the original &lt;/P&gt;&lt;P&gt;&lt;EM&gt;$scope.backendApi.getProperties().then(function(reply){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; angular.forEach(reply.qHyperCubeDef.qMeasures,function(measure){&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('MEASURE',measure);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; console.log('MATRIX',layout.qHyperCube.qDataPages[0].qMatrix[0]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; });&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for the information yesterday.&amp;nbsp; I just don't know where in the hypercube that data would be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 13:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966116#M3545</guid>
      <dc:creator>sheldonqlik</dc:creator>
      <dc:date>2015-08-21T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966117#M3546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is very possible, you are just not reading what I'm posting for you. &lt;BR /&gt;&lt;STRONG&gt;Stop accessing the properties through getProperties(). Period.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why? Because you are accessing the definition of the hypercube, not the hypercube itself&lt;/P&gt;&lt;P&gt;Here are two working examples, 1 for Attribute Expressions and 1 for Measure properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="definition.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96699_definition.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="attributeexpression.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96700_attributeexpression.png" style="height: 609px; width: 620px;" /&gt;&lt;IMG alt="measureproperty.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/96716_measureproperty.png" style="height: 624px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 16:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966117#M3546</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-21T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966118#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you much! I was not listening apparently! thanks much.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966118#M3547</guid>
      <dc:creator>sheldonqlik</dc:creator>
      <dc:date>2015-08-21T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966119#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use exactly your both properties definitions (Sense Desktop 2.1.1 build 22).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I enter a formula in measures properties I get a Json rpc error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="jsonrpcerror.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114308_jsonrpcerror.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The property formula is not saved.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Layout hypercube data matrix object log in the console shows qAttrExps.qValue.0.qNum equal to "Nan" for calculated measure property.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;Layout hypercube measure info shows newLabel with 'TE'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;When I edit again the object, both formulas has vanished.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I set up some special initial properties to get this working ?&lt;/P&gt;&lt;P&gt;Any other ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966119#M3548</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2016-02-11T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966120#M3549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheldon, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you solved this issue ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 05:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966120#M3549</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2016-03-31T05:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966121#M3550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I found this trick to get it working...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;InformationLabelProp: {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp; type&amp;nbsp; : 'string',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp; &lt;STRONG style=": ; color: #339966;"&gt;component: 'expression',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp; label : 'Evaluates for each row',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp; ref&amp;nbsp; : 'qAttributeExpressions.0.qExpression',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;&amp;nbsp; defaultValue: ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000080;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000;"&gt;You may check.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN style="color: #000000;"&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 17:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966121#M3550</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2016-04-04T17:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966122#M3551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to specify an expression which would return a meaningful color value in a custom extension?&lt;/P&gt;&lt;P&gt;I'm following steps you've done (case with expression evaluated per each row) and I'm getting qAttrExps, but their values are numbers, not strings, and for instance instead of RGB(0,0,0) I receive value '4278190080'.&lt;/P&gt;&lt;P&gt;My expression is defined like this - IF($(fieldName)&amp;lt;0,RGB(0,0,0)). For rows which are falsy for IF statement I end up with 'NaN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 13:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966122#M3551</guid>
      <dc:creator />
      <dc:date>2016-07-11T13:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966123#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation, same approach can be applied for Dimensions. Only difference is that for dimensions the property is named qAttributeExpression instead of qAttributeExpressions (no 's' at the end).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that as a result, I can't see qAttrExps created. Even in qDimensionInfos qAttrExpInfo is empty for every dimension. Can you please assist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966123#M3552</guid>
      <dc:creator />
      <dc:date>2016-08-31T15:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966124#M3553</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;i also was wondering if for the Dimensions we have the same Attribute, qAttrExps.&lt;/P&gt;&lt;P&gt;Somebody could go further regarding this topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to define custom attribute on dimension level, so it could be nice if somebody could assist.&lt;BR /&gt;The documentation says that there exists such property:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" height="40" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; margin-right: auto; height: 37px; width: 653px;" width="651"&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" data-mc-conditions="" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;qAttributeExpression&lt;/TD&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;List of attribute expressions.&lt;/P&gt;&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Array of &lt;SPAN class="path" style="font-style: italic;"&gt;NxAttrExprDef&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/EngineAPI/Content/Structs/NxDimension.htm" style="font-size: 10pt; line-height: 1.5em;" title="https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/EngineAPI/Content/Structs/NxDimension.htm"&gt;https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/EngineAPI/Content/Structs/NxDimension.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 21:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966124#M3553</guid>
      <dc:creator>pamaxeed</dc:creator>
      <dc:date>2016-09-08T21:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966125#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then how can we do the same work in dimension?&amp;nbsp; I try in the cub and it work, but the expression can not be evaluation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;dimensions: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; columnWidth: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; type&amp;nbsp; : 'string',&lt;/P&gt;&lt;P&gt;&amp;nbsp; component: 'expression',&lt;/P&gt;&lt;P&gt;&amp;nbsp; label : 'Column Width',&lt;/P&gt;&lt;P&gt;&amp;nbsp; ref&amp;nbsp; : 'qDef.columnWidth',&lt;/P&gt;&lt;P&gt;&amp;nbsp; defaultValue: ''&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 02:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966125#M3554</guid>
      <dc:creator>guantujiang</dc:creator>
      <dc:date>2016-11-13T02:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966126#M3555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually that's expected as rgb() is interpreted as a number by the engine. Simply replace with strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966126#M3555</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2017-02-14T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966127#M3556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is old,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I notice that you do not use an "=" sign in front of the evaluate for each row expression. I am noticing that in my work reproducing this, when I use an equal sign the expression is not evaluated. When I write an expression without the leading =, then I'm okay. I'm worried that this will be confusing for users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am setting expression to "optional" but have also tried "always"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 17:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966127#M3556</guid>
      <dc:creator>jonvitale</dc:creator>
      <dc:date>2017-10-17T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966128#M3557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me understand this solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add a property (expression) to a dimension that I want to use to define a color based on the value of the cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I defined my property like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var style={&lt;/P&gt;&lt;P&gt;ref: "qAttributeExpressions.0.nwsStyle",&lt;/P&gt;&lt;P&gt;label: "Style",&lt;/P&gt;&lt;P&gt;type: "string",&lt;/P&gt;&lt;P&gt;//expression: "always",&lt;/P&gt;&lt;P&gt;component: "expression"&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I'm accessing this expression in my extension code like this.&lt;/P&gt;&lt;P&gt;style = dimensionInfo[key].qAttrExprInfo[0].nwsStyle;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What gets returned is the expression formula and not the evaluated expression..&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returned results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(LEVEL = 1, 'background-color:green;',&lt;/P&gt;&lt;P&gt;If(LEVEL = 2, 'background-color:lightgreen;',&lt;/P&gt;&lt;P&gt;If(LEVEL = 3, 'background-color:yellow;',&lt;/P&gt;&lt;P&gt;If(LEVEL = 4, 'background-color:lightred;',&lt;/P&gt;&lt;P&gt;If(LEVEL = 5, 'background-color:red;','background-color:gray;')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm expecting the style to be returned so I can apply it to the html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to make this work? I noticed several people trying to do this in the forums but I'm not finding a successful solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 19:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966128#M3557</guid>
      <dc:creator>robcastle</dc:creator>
      <dc:date>2018-02-12T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense custom measure property for extension with expression value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966129#M3558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, I think I got what you are looking for working. I modified an extension to give some color-by-expression features. Let's see what we can do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, in my dimension, where I want to color by expression, I use the ref "&lt;SPAN style="color: #0000ff;"&gt;qAttributeExpressions.0.qExpression&lt;/SPAN&gt;" and not a custom reference name, like your "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;qAttributeExpressions.0.nwsStyle&lt;/SPAN&gt;". I'm not sure that this matters 100%, but I think it tells Qlik to evaluate this expression for each dimensional value and put the result with the rest of the data.&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Next, in the body of my code (the paint function), I can find the values deep in my layout object:&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;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193397_Capture.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, in my case, I have a matrix with 16 rows, representing 16 combinations of the the two dimensions I'm using in my object. The array[3] is because I have 2 defined dimensions and 1 measure. If I dive into the first dimension I see the object qAttrExps and a sub-object qValues. Because I used &lt;SPAN style="color: #0000ff;"&gt;qAttributeExpressions.0.qExpression &lt;SPAN style="color: #000000;"&gt;(with a zero) I get my evaluated color expression in the first index of the qValues array. Depending on how you set this up it could either by a Num or a Text. In my case the expression returned a text, a nice RGB representation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Give that a try and let me know if it works. I did this a couple months ago, so I'm a little rusty on what I've done. But hopefully this helps. Also, if you want to see my code where I did this stuff you can go here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;A href="https://github.com/jonvitale/SenseColorableSankey" title="https://github.com/jonvitale/SenseColorableSankey"&gt;GitHub - jonvitale/SenseColorableSankey: Qlik Sense Colorable Sankey Extension&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 14:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qliksense-custom-measure-property-for-extension-with-expression/m-p/966129#M3558</guid>
      <dc:creator>jonvitale</dc:creator>
      <dc:date>2018-02-14T14:25:44Z</dc:date>
    </item>
  </channel>
</rss>

