Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I want to create a new column, which should show the manager value. Sharing my expected column,
| Associate | Manager | Client | Expected column |
| a | 1 | b | 2 |
| b | 2 | b | 2 |
| c | 3 | c | 3 |
| d | 3 | d | 3 |
| e | 4 | f | 2 |
| f | 2 | f | 2 |
| g | 1 | g | 1 |
| h | 4 | h | 4 |
| i | 2 | x | NA/Null |
| j | 1 | y | NA/Null |
| k | 4 | z | NA/Null |
As per above result in 1st row the new client is 'b' who is under manager '2'. So as per this the value of new column should become '2' but is showing the same value of manger as '1'.
The other condition should be if there is new value in client column then it should not print any value(NA/Null) in new column.
But what i am getting is,
| Associate | Manager | Client | Resul column |
| a | 1 | b | 1 |
| b | 2 | b | 2 |
| c | 3 | c | 3 |
| d | 3 | d | 3 |
| e | 4 | f | 4 |
| f | 2 | f | 2 |
| g | 1 | g | 1 |
| h | 4 | h | 4 |
| i | 2 | x | 2 |
| j | 1 | y | 1 |
| k | 4 | z | 4 |
Please help and advice what to do in such cases?
Solved! Go to Solution.
you can try this
Column = maxx(FILTER('Table','Table'[Associate]=EARLIER('Table'[ Client])),'Table'[Manager])
Proud to be a Super User!
@Anya_T
You can use LOOKUPVALUE function:
Expected = LOOKUPVALUE(Table1[Manager],Table1[Associate],Table1[ Client])
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi, thank you for replying.
I tried but getting an error. How can i rectify it?
Sharing screenshot.
user_id= Associate
manager_id= Manager
Associate= ClientCreate Column
There are multiple values for one or more results, I assumed you had one record per match.
it's your call.
you can have a separate table for the combination without duplicates
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
you can try this
Column = maxx(FILTER('Table','Table'[Associate]=EARLIER('Table'[ Client])),'Table'[Manager])
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 39 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 94 | |
| 81 | |
| 34 | |
| 29 | |
| 25 |