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

How can I access a measure item with a reference?

Hi everyone.

I'm working on a Qlik Sense KPI Extension, and I can't access the items in my measure property.

In my properties.js file, I have coded it like this:

prop.titlesize.PNG

And I want to access it in my kpi.js file, like this:

fsize.PNG

fsize[prop.titlesize].PNG

If I change the fsize[prop.titlesize] to fsize[3], then it also works as it should.

The idea is to be able to change the size in Qlik Sense like this:

qliksense.PNG

So - if I put this titlesize property OUT of the measure property - this works fine, but when I put the titlesize property INSIDE the measure property as an item, I don't know how to access it.

Anyone who knows how to access this?

0 Replies