Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
devan9876
Creator
Creator

Are there any examples of how to set up a hypercube in tree mode?

The documentation mentions a hypercube can be in mode S for straight,P for Pivot and T for tree. I have been able to get both straight and pivot to work but have not been able to figure out tree mode. I thought it would be like the others where I just change the qMode property of the hupercube def to "T" but that doesn't populate any of the datapage props on the hypercube result.

 

 

Labels (2)
2 Replies
alex_colombo
Employee
Employee

devan9876
Creator
Creator
Author

I'm not sure if that helps.

I'm defining my property panel using the "dimensions" property panel component as shown on the qlik.dev tutorial. The example you gave seems to be hard-coding the dimensions. Is that component not compatible with a hypercube in tree mode?

 

https://qlik.dev/extend/property-panel-basics/extensions-reusing-properties/

// Define what the properties panel looks like
    definition: {
      type: "items",
      component: "accordion",
      items: {
        dimensions: {
          uses: "dimensions"
        },
        measures: {
          uses: "measures"
        },
        sorting: {
          uses: "sorting"
        },
        appearance: {
          uses: "settings",
        }
      }
    },