This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
Hoping this is fairly simple. I have single table as shown below (real table has 1000's of rows)
I'm not interested in "Manager ID". I want manager name as per below.
Any suggestions? The logic is something along the lines of
Thanks
Solved! Go to Solution.
hi, @quinla01
You could use LOOKUPVALUE Function to create a calculate column as below:
Manager = IF(ISBLANK('Table'[Manager ID])=FALSE(),LOOKUPVALUE('Table'[Employee],'Table'[ID],'Table'[Manager ID]))
Result:
Best Regards,
Lin
hi, @quinla01
You could use LOOKUPVALUE Function to create a calculate column as below:
Manager = IF(ISBLANK('Table'[Manager ID])=FALSE(),LOOKUPVALUE('Table'[Employee],'Table'[ID],'Table'[Manager ID]))
Result:
Best Regards,
Lin
That worked a charm. Many Thanks.
Out of interest, do you know how this would be done from the query editor rather than in report view?
Thanks
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |