Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Highlighted
Partner
Partner

Extracting dimensions and measures from charts using Qlik Sense .NET SDK

Hi,

I wanted to know how one can use the Qlik Sense .NET SDK to extract the exact dimensions and measures used in a chart object. I am able to extract the hypercube for this chart but not the exact dimensions and measures. Can someone please help me out? 

1 Reply
Employee
Employee

Re: Extracting dimensions and measures from charts using Qlik Sense .NET SDK

Hi! Late reply, but I just happened to see it now.

If you have the hypercube, then you'll find the two properties "Dimensions" and "Measures" in the HyperCubeDef structure:

https://help.qlik.com/en-US/sense-developer/February2019/apis/net+sdk/html/Properties_T_Qlik_Engine_...

You can find an example illustrating how to use hypercubes in the the .Net SDK here:

https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage