<?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: Is it possible to re-code variables in a mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117982#M1637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks Rob, i’ll Try out your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 02:23:36 GMT</pubDate>
    <dc:creator>briwilli</dc:creator>
    <dc:date>2018-09-18T02:23:36Z</dc:date>
    <item>
      <title>Is it possible to re-code variables in a mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117980#M1635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The project I support has the requirement to provide users with the capability to re-code dimensions. For instance, one dimension in our Qlik Sense app is Field of Study with values like Agriculture, Biology, Chemistry, Computer Sciences, Education, Engineering, and Mathematics. A user may want re-code this dimension so that the value are Education, Engineering, and Other (in this case, Other would consist of a Agriculture, Biology, Chemistry, Computer Sciences, and Mathematics).&amp;nbsp; The data rendered in the visualization could then be filtered on these 3 values.&amp;nbsp; Similarly, another user may want to re-code this dimension as Biology, Chemistry, Computer Sciences, and Other (in this case Other would consist of Agriculture, Education, Engineering, and Mathematics). These re-code definitions would be dynamic and not saved anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users access our Qlik Sense apps through a web mashup, so users would need to be able perform the re-coding through the web app using custom code that utilize the Qlik APIs.&amp;nbsp; Does anyone know if this is even possible? I haven't seen anything that references this type of capability.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117980#M1635</guid>
      <dc:creator>briwilli</dc:creator>
      <dc:date>2018-09-11T18:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-code variables in a mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117981#M1636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's quite possible with a couple of approaches.&amp;nbsp; If you are creating the chart in QS, use a Calculated Dimension like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=aggr(if(Match(Subject, $(vOtherList)), 'Other', Subject), Subject)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your mashup can set the contents of vOtherList using the Variable API.&amp;nbsp; Set it to a comma separated quoted list like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Agriculture', 'Biology', 'Chemistry', 'Computer Sciences'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative method might be to use the ApplyPatches() method against the chart hypercube to update the DImension directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.easyqlik.com" rel="nofollow" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 19:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117981#M1636</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-09-11T19:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-code variables in a mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117982#M1637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks Rob, i’ll Try out your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 02:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-re-code-variables-in-a-mashup/m-p/117982#M1637</guid>
      <dc:creator>briwilli</dc:creator>
      <dc:date>2018-09-18T02:23:36Z</dc:date>
    </item>
  </channel>
</rss>

