<?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 Hypercube Def : PseudoDimension position not change in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-Def-PseudoDimension-position-not-change/m-p/1681263#M12419</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm developing an extension to display a pivot table using an hypercube.&amp;nbsp; Before accomplished this I have created a pivot table into my Qlik sense App to check result that will be cloned into my extension.&lt;BR /&gt;&lt;BR /&gt;The issue is the follow:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- two dimensions: "Model" and&amp;nbsp; "Country"&lt;BR /&gt;- two measures : "FBD" and "LTR"&lt;BR /&gt;&lt;BR /&gt;I wanna obtain this:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29509i131E512F994CA991/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But I obtain this in my hypercube:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 699px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29510iEF0A14BEC3EB2786/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Below you can see my hypercube def and I think to have setted&amp;nbsp;&lt;SPAN&gt;qInterColumnSortOrder array in the right way.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var myProps = {
    textColor: "black",
    qHyperCubeDef: {
      qDimensions: [],
      qMeasures: [],
      qInitialDataFetch: [
        {
          qTop: 0,
          qLeft: 0,
          qWidth: 100,
          qHeight: 300
        }
      ],
      qInterColumnSortOrder: [0, -1, 1],
      //qPseudoDimPos:1,
      qNoOfLeftDims: 2,
      qMode: "P",
      qAlwaysFullyExpanded: true,
      qIndentMode: false
    }
  };

  var myDefinition = {
    type: "items",
    component: "accordion",
    items: {
      dimensions: {
        uses: "dimensions",
        min: 2,
        max: 2
      },
      measures: {
        uses: "measures",
        min: 2,
        max: 2
      },
      sorting: {
        uses: "sorting"
      },
      settings: {
        uses: "settings"
      }
    }
  };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes will be loaded the columns like my&amp;nbsp;&lt;SPAN&gt;qInterColumnSortOrder , but another in this order: -1,0,1.&lt;BR /&gt;&lt;BR /&gt;I don't know where there is a conflict or other issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have you any idea to solve this?&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thank you all,&lt;BR /&gt;&lt;BR /&gt;Simone&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:06:50 GMT</pubDate>
    <dc:creator>simoneantonicchio</dc:creator>
    <dc:date>2024-11-16T03:06:50Z</dc:date>
    <item>
      <title>Hypercube Def : PseudoDimension position not change</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-Def-PseudoDimension-position-not-change/m-p/1681263#M12419</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm developing an extension to display a pivot table using an hypercube.&amp;nbsp; Before accomplished this I have created a pivot table into my Qlik sense App to check result that will be cloned into my extension.&lt;BR /&gt;&lt;BR /&gt;The issue is the follow:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- two dimensions: "Model" and&amp;nbsp; "Country"&lt;BR /&gt;- two measures : "FBD" and "LTR"&lt;BR /&gt;&lt;BR /&gt;I wanna obtain this:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29509i131E512F994CA991/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But I obtain this in my hypercube:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 699px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29510iEF0A14BEC3EB2786/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Below you can see my hypercube def and I think to have setted&amp;nbsp;&lt;SPAN&gt;qInterColumnSortOrder array in the right way.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var myProps = {
    textColor: "black",
    qHyperCubeDef: {
      qDimensions: [],
      qMeasures: [],
      qInitialDataFetch: [
        {
          qTop: 0,
          qLeft: 0,
          qWidth: 100,
          qHeight: 300
        }
      ],
      qInterColumnSortOrder: [0, -1, 1],
      //qPseudoDimPos:1,
      qNoOfLeftDims: 2,
      qMode: "P",
      qAlwaysFullyExpanded: true,
      qIndentMode: false
    }
  };

  var myDefinition = {
    type: "items",
    component: "accordion",
    items: {
      dimensions: {
        uses: "dimensions",
        min: 2,
        max: 2
      },
      measures: {
        uses: "measures",
        min: 2,
        max: 2
      },
      sorting: {
        uses: "sorting"
      },
      settings: {
        uses: "settings"
      }
    }
  };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes will be loaded the columns like my&amp;nbsp;&lt;SPAN&gt;qInterColumnSortOrder , but another in this order: -1,0,1.&lt;BR /&gt;&lt;BR /&gt;I don't know where there is a conflict or other issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have you any idea to solve this?&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Thank you all,&lt;BR /&gt;&lt;BR /&gt;Simone&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-Def-PseudoDimension-position-not-change/m-p/1681263#M12419</guid>
      <dc:creator>simoneantonicchio</dc:creator>
      <dc:date>2024-11-16T03:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hypercube Def : PseudoDimension position not change</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-Def-PseudoDimension-position-not-change/m-p/1684106#M12479</link>
      <description>&lt;P&gt;I have solved using backend-API method "applyPatches".&lt;BR /&gt;With this method i replace column order after render.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2020/Subsystems/APIs/Content/Sense_ClientAPIs/BackendAPI/applypatches-method.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/February2020/Subsystems/APIs/Content/Sense_ClientAPIs/BackendAPI/applypatches-method.htm&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;paint: function($element, layout) {
      var app = qlik.currApp();
        this.backendApi
          .applyPatches(
            [
              {
                qPath: "/qHyperCubeDef/qInterColumnSortOrder",
                qOp: "replace",
                qValue: "[0,-1,1]"
              }
            ],
            true
          )
}
          &lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Mar 2020 11:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-Def-PseudoDimension-position-not-change/m-p/1684106#M12479</guid>
      <dc:creator>simoneantonicchio</dc:creator>
      <dc:date>2020-03-12T11:37:16Z</dc:date>
    </item>
  </channel>
</rss>

