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

Hiding a button based on 'the user'

I need to hide certain buttons based on who is accessing the document. I'm already using a show condition on the sheets...

if(sum({<[User_auth]  ={[$(vtmpActiveUser)]}>} TabFinancialOps) > 0,1,0)

...and surmise I would need to do the same on the buttons but am unsure as to where to start or how it should be constructed.

Any help / advice would be appreciated and once again, thanks in advance.

1 Reply
marcus_sommer

You could use something like this:

if(match(osuser(), 'user1', 'user2', ...), true(), false())

- Marcus