Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
48 | |
47 |