Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
newpbiuser01
Helper V
Helper V

Lookup Multiple Values

Hello,

 

I have a primary table with a list of people, and the lookup table that contains a list of all individuals in the department (including but not limited to the people in the primary table) and the account number. I am trying to use the lookup function to get a list of different account numbers that each individual in the primary table is using. When I try to use the lookup function, I get an error saying multiple values were returned where only one was expected. Would anyone know if this is possible in Power BI?

Primary Table:

Name
A
B
C
D

 Account Table:

NameAccount
A123
B456
C456
D789
E123
A456
A789
B123
C878
D456
V456
X789
D111
X456
J111
J156
K222

 

Result:

NameAccount
A123
A456
A789
B456
B123
C456
C878
D789
D456
D111

 

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @newpbiuser01 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

1. Create the relationship between Primary and Account table base on Name fields as below screenshot

yingyinr_0-1650262678775.png

2. Create a table visual as below screenshot

yingyinr_1-1650262734190.png

If the above one can't help you get the desired result, please provide more sample data in Primary and Account table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
newpbiuser01
Helper V
Helper V

Thanks @Anonymous! That worked.

Anonymous
Not applicable

Hi @newpbiuser01 ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

1. Create the relationship between Primary and Account table base on Name fields as below screenshot

yingyinr_0-1650262678775.png

2. Create a table visual as below screenshot

yingyinr_1-1650262734190.png

If the above one can't help you get the desired result, please provide more sample data in Primary and Account table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.