Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
Could you please help on below issue
I think like this:
Test:
LOAD * INLINE [
USERID
JOHN.PAUL
PAUL.READ
LAURE.JO
ROB
];
IF Exists('USERID', Upper(SubField(OSUser(), '\', 2))) then
LOAD * INLINE [
ID, Name
100,A
101,B
102,C
103,D
];
else
LOAD * INLINE [
ID, Name
104,Z
105,X
106,Y
107,U
];
endif;
You may need to adjust the SubField() depending on the format of your OSUSER().
-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com
Experts need help on it!
I think like this:
Test:
LOAD * INLINE [
USERID
JOHN.PAUL
PAUL.READ
LAURE.JO
ROB
];
IF Exists('USERID', Upper(SubField(OSUser(), '\', 2))) then
LOAD * INLINE [
ID, Name
100,A
101,B
102,C
103,D
];
else
LOAD * INLINE [
ID, Name
104,Z
105,X
106,Y
107,U
];
endif;
You may need to adjust the SubField() depending on the format of your OSUSER().
-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com