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

Need to get only Levels from userid

Hi All,

I want to get the User Level from the UserField.This Field has the Userid along with LevelType.

UserID

ABCL1    -L1

HZHL2 -L2

HSDL3-L3

JHHJ-NA

GHJD-NA

GHJJ-NA

1 Reply
lowrycody
Contributor II
Contributor II

Hello Harish,

Something like this should help you return LevelType, assuming the delimiter is always '-'.

=mid([UserID],index([UserID],'-',1),len([UserID]) - len(index([UserID],'-',1)))