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

FirstSortedValue using parameters from 2 tables

Hi, 

I get a null when trying to use the function in the following way:  FirstSortedValue (user_name, currentPerm).

while using 2 parameters from the same table, its working OK.

All the values of 'currentPerm' - the sort-weight are unique. 

Can anyone suggest a way to solve it?

avigdova_1-1677773618062.png

 

 

Labels (1)
1 Solution

Accepted Solutions
ogster1974
Partner - Master II
Partner - Master II

can you not use UserCode instead of User_Name as appears in both tables?

View solution in original post

2 Replies
ogster1974
Partner - Master II
Partner - Master II

can you not use UserCode instead of User_Name as appears in both tables?

avigdova
Contributor II
Contributor II
Author

I could but i prefer to display the name.

Finaly I joined the 2 tables and the problem was solved. its not the best solution but its working.