Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I created a hyperCube using the mashup editor.
When I try to use a measure name from the application, I get no results.
For example:
qMeasures: [{
qDef: {
qDef: "# of Objects",
qLabel: "# of Objects"
}
}]
"# of Objects" is a measure in my application which contains the following expression:
count( ObjectID)
If I change the qDef property to be "count( ObjectID)", then I get the expected results.
Is there a way/method to use the master items names from the application and not the fields names?
Thanks,
Eli.
Hi Eligohar,
Did you find any solution to use master measures in the hypercube to build the charts.
Thanks,
@abhijith28 Unfortunately no solution since I've opened this post.
Even i am finding the solution. i guess this can be achieved by passing the Master measure id's into the hypercube
Hi,
Check the attachment. I guess you can create using this script.
You mean you want to use a master measure in your hypercube? In that case you should write like this:
qMeasures: [{ qLibraryId: "<object ID>"}]
The page below provides more information, but the important thing here is the note that states "Either qDef or qLibraryId must be set, but not both."
https://help.qlik.com/en-US/sense-developer/June2019/APIs/EngineAPI/definitions-NxMeasure.html