Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Partner
Partner

GetObjectMeasure

Hi all,

I'm stuck in a situation where i need to know which measure i'm using. I did some search and reached a conclusion GetObjectMeasure can help.

Can anyone please elaborate me how this function works.

3 Replies
Employee
Employee

Re: GetObjectMeasure

I think you need to add some more context. Do you need to extract the measure programmatically? Or do you just want to inspect it without going through Qlik Sense?

Partner
Partner

Re: GetObjectMeasure

I need to know programatically, which measure i'm using

Employee
Employee

Re: GetObjectMeasure

Well, accessing a measure of an object would typically require you to access the properties of that object and then inspecting the measures of its hypercube. I'm not sure what programming language you intend to use, but this projects illustrates how to deal with hypercubes in C#:

https://developer.qlik.com/garden/5818518b9fa7b8156fa73588

This line is one example in that project that illustrates how to access a specific measure:

https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage/blob/master/HypercubeUsage/Program.cs#L1...