Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set dimension display format in hypercube

I am creating a hypercube as per the below and formatting the measure as a % using the Qlik num() function.  I am sure there must be a better way - Any ideas ?  

app.createCube({

qDimensions : [{

qDef : { qFieldDefs : ["BU"] ,

qSortCriterias: [{qSortByAscii: 1}]

}},

],

qMeasures: [

{qDef: {qDef: "num($(vPercentTargetOTP15mtd),'#0.0%')",qLabel: "kpiBuMtdOtp15Target"}},

],

qInitialDataFetch: [{qHeight: 40,qWidth: 44}]

}

,arrayBuMtdKpi);

0 Replies