<?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: Alternative dimensions in mashups? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097315#M4939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a variable and use that as the dimension or measure, then you just need to change the variable with the API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 13:33:01 GMT</pubDate>
    <dc:creator>Francis_Kabinoff</dc:creator>
    <dc:date>2016-02-24T13:33:01Z</dc:date>
    <item>
      <title>Alternative dimensions in mashups?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097313#M4937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The alternative dimensions feature just launched in v2.2 is something regularly requested from users previously used to the feature in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to access the alternative dimension from within a mashup? Is there an API method that can be called to switch dimension/measure to the alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I'm stuck with my current solution of creating multiple versions of a similar chart and loading each of them into a tabbed HTML box to simulate switching the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 22:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097313#M4937</guid>
      <dc:creator />
      <dc:date>2016-02-23T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative dimensions in mashups?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097314#M4938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I haven't got an answer to your question on alternative dimensions and measures, but you might want to take a look at the new &lt;A href="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/APIs/Content/VisualizationAPI/VisualizationAPI.htm"&gt;visualization API&lt;/A&gt;. It allows you to create your charts programatically from Javascript, without having to add them to the Sense App first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could for example write like this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14563112900966653" jivemacro_uid="_14563112900966653"&gt;
&lt;P&gt;app.visualization.create('barchart',&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; // we want a barchart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ["Case Owner Group","=Avg([Case Duration Time])"], // one dimension, one measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"title":"On the fly barchart"})&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; // and we set the title&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .then(&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;&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; // it's asynchronous, so when its ready&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function(vis){&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; vis.show("QV03");&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; // show the chart in a HTML element&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second parameter is simply an array of dimensions and measures, and you could of course create it dynamically if you want to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are lots of examples in the &lt;A href="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/APIs/Content/VisualizationAPI/VisualizationAPI.htm"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, and do come back if you have more questions.&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, 24 Feb 2016 10:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097314#M4938</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2016-02-24T10:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative dimensions in mashups?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097315#M4939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a variable and use that as the dimension or measure, then you just need to change the variable with the API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097315#M4939</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-02-24T13:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternative dimensions in mashups?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097316#M4940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the responses. Both viable options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our use case though, we want to keep things as simple as possible for the user to be able to build up mashup pages themselves, rather than having a pre-designed fixed set of content. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are designing a template HTML layout, which they can then populate with different Qliksense objects just by updating the Javascript file to open a new app, and updating the object IDs that populate each div in the HTML..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for that to be effective we need to keep as much of the design in Qliksense as possible, and with no code so far as possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will think further on those suggestions and what the most practical way to implement is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 21:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Alternative-dimensions-in-mashups/m-p/1097316#M4940</guid>
      <dc:creator />
      <dc:date>2016-03-16T21:04:35Z</dc:date>
    </item>
  </channel>
</rss>

