Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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