1 Reply Latest reply: Apr 22, 2016 6:23 PM by Guillaume Champion RSS

    How to enable Alternative Dimensions and/or Measures in an Extension ?

    Guillaume Champion

      I want to know if it is possible now to enable Alternative Dimension and Measure in an extension vizualisation ?

      If yes, how we manage that in the properties panel and if there is something else to do.

       

      I can't see anything in the documentation Qlik Sense 2.2 for Developpers on that.

        • Re: How to enable Alternative Dimensions and/or Measures in an Extension ?
          Guillaume Champion

          I succeed to display alternative dimension/measure menu in edit mode chaging definition like that :

          definition: {

            type: "items",

            component: "accordion",

            items: {

            data: {

                 uses: "data",

                 dimensions: {

                      uses: "dimensions",

                      min: 1,

                      max: 1

                 },

                 measures: {

                      uses: "measures",

                      min: 1,

                      max: 5

                 }

            },

            sorting: {

            uses: "sorting"

            },

           

          after parameter alternative dimension in non EDIT mode Explore menu tooltip didn't appear, I found how to activate it adding this :

           

          me.snapshot = {

            canTakeSnapshot : true

            };

           

            me.softDefinition = {

            canShowExploreMenu : true

            };

           

           

          It works but nothing appear in the Explore menu. For the moment I didn't find how to make it work completly :

          Capture.PNG

          Feel free to help me to answer my open point