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

Announcements
Congratulations to the new Qlik Luminary and Partner Ambassador class! Meet them here
cancel
Showing results for 
Search instead for 
Did you mean: 
Theshantanu
Contributor
Contributor

How to get First name in Welcome note ??

Hello,

I am trying to customize a welcome note in my dashboard. But, when I use OSUSER() I get an ID, is it possible to get first name of the user.

I have a excel sheet which has all IDs and their names, which I can upload separately.

Please advise, Thanks!

 

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Assuming the fields in your excel sheet are "ID" and "Name".

='Welcome ' & only({<ID={'$(=OSUser())'}>}Name)

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

View solution in original post

2 Replies
vikasmahajan
MVP
MVP

Hi,

You can achieve this using firstsortedvalue :

https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/Basic....

 

Examples and results
Example Result
firstsortedvalue (Product, UnitPrice)

BB, which is the Productwith the lowest UnitPrice(9).

firstsortedvalue (Product, UnitPrice, 2)

BB, which is the Productwith the second-lowest UnitPrice(10).

firstsortedvalue (Customer, -UnitPrice, 2)

Betacab, which is the Customerwith the Product that has second-highest UnitPrice(20).

firstsortedvalue (Customer, UnitPrice, 3)

NULL, because there are two values of Customer (Astrida and Canutility) with the samerank (third-lowest) UnitPrice(15).

Use the distinct qualifier to make sure unexpected null results do not occur.

firstsortedvalue (Customer, -UnitPrice*UnitSales, 2)

Canutility, which is the Customer with the second-highest sales order value UnitPrice multiplied by UnitSales (120).

 

regards

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
rwunderlich
MVP
MVP

Assuming the fields in your excel sheet are "ID" and "Name".

='Welcome ' & only({<ID={'$(=OSUser())'}>}Name)

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com