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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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)))