Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

conditional show expression or dimension

I have a table with usernames and a key linking to other data.

Now I want to conditional show expressions or dimensions

For that I use : OSuser()= Authorisation.username

When comparising both values Qlik says they are the same, but data do not show.

Can I use conditonal with OSuser()  ?

1 Solution

Accepted Solutions
sunny_talwar

That could be it... May be this:

=Index(Concat(DISTINCT Authorisation.username), OSUser()) > 0

View solution in original post

6 Replies
sunny_talwar

May be like this:

=Match(Authorisation.username, OSUser())

or

=Index(Authorisation.username, OSUser())

curiousfellow
Specialist
Specialist
Author

I tried both, but did not work.

Is this because there are more users authorized for one and the same dimension ?

sunny_talwar

That could be it... May be this:

=Index(Concat(DISTINCT Authorisation.username), OSUser()) > 0

curiousfellow
Specialist
Specialist
Author

Thank you very much. This did it.

curiousfellow
Specialist
Specialist
Author

I would like to mark Sunny's answer as correct, Mark as usefull is the only possibility ??

sunny_talwar

You should be able to mark the correct response. Look here

Qlik Community Tip: Marking Replies as Correct or Helpful