Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use Object ID within an expression?

Hi,

To create this custom view I want to create a lot of text objects and have them all calculate differently. I was thinking I could do as a function of their different object ids, instead of manually changing the code in each one which would take hours. Is there a way I can pull the object ID of a text object and use it within an expression. For example I would use something like num(right(ObjectID))*$(variable)

Is this possible?

1 Reply
felipedl
Partner - Specialist III
Partner - Specialist III

Hello Lee,

There's only macro functions to get the object ID, as an example see:

Function to get Object ID?

What you could do is load your calculations on a external file (text, excel and so on) and then load them as variables so that you can calculate the boxes differently without manually checking each box.

Felipe.