Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Highlighted
LucasMendes
New Contributor

More than 10 rows/dimensions in QlikSense extension

Hi,

 

I'm facing a problem...I can't create more than one measure :

 

return new Promise(function (resolve, reject) {
app.createCube({
"qDimensions": [{
"qDef": {
"qFieldDefs": [tmpDim],
"cId": tmpcId
}
}],
"qMeasures": [{
"qDef" : {"qDef" : "Sum(Quantidade)"},
"qDef" : {"qDef" : "Count(Quantidade)"}

}],
"qInitialDataFetch": [{
qHeight: h,
qWidth: w
}]

},

 

Qlik Sense considers only the last one measure: "qDef" : {"qDef" : "Count(Quantidade)"}

Why is this happenning?

To better clarify, I need to create an hypercube(only one) wich allows me to create dinamic measures and then send it to data object from my chart ( to another extension - AnyChart)...
Because my chart uses only one Hypercube...

Thank you in advance!

 

2 Replies
Employee
Employee

Re: More than 10 rows/dimensions in QlikSense extension

Hi Lucas,

I believe you got your curly brackets wrong on the measure.

Try this

"qMeasures": [
{"qDef" : {"qDef" : "Sum(Quantidade)"}},
{"qDef" : {"qDef" : "Count(Quantidade)"}}
],

Regards,

Patrik. 

LucasMendes
New Contributor

Re: More than 10 rows/dimensions in QlikSense extension

Hi Plu,

still getting the same problem...

Qlik is getting only the last one : 

{"qDef" : "Count(Quantidade)"}

 

Community Browser