Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculated dimension help

Would it be possible for me to use a value from a text object to a calculated dimension?

like if in my text object i have =if(osuser()='me',2,1)

and in my calculated dimension i will just like call the object like if(textobject = 2,[Drill],[Cyclic])

is this kinda possible?

help would be much apreciated.

2 Replies
sparur
Specialist II
Specialist II

Hello.

No, you can't get values from text object. but you can use a variable. For example:

1) create a variable vUser with value: =if(osuser()='me',2,1)

2) use this variable in calculated dimension: if($(vUser) = 2,[Drill],[Cyclic])

Not applicable
Author

oh ok tnx!