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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I'm trying to lookup value (list prise) in one input table:
and merge it with the following table
to get the following resul table (list price is the same ragardless the date)
However, Lookupvalue formula returns an error "A table with multiple values was returned when a single value was expected".
Any idea what causes the error and how to solve it?
Thank you!
Solved! Go to Solution.
@Anonymous
Check your 1st table for duplicate values in product column. you try the following as well:
ListPrice =
MAXX(
FILTER(
table-1,
table-1[product]=EARLIER(table-2[product])
),
table-1[List Price]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Anonymous ,
What formula did you use?
Here is an example for a measure:
#lookupLP =
LOOKUPVALUE(InputTable[LP], InputTable[Product], MAX(FollowingTable[Product]))
If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
@Anonymous
Check your 1st table for duplicate values in product column. you try the following as well:
ListPrice =
MAXX(
FILTER(
table-1,
table-1[product]=EARLIER(table-2[product])
),
table-1[List Price]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hey @Anonymous ,
did you create it as a calculated column?
Try the following calculated column:
List Price = LOOKUPVALUE( 'Product'[List price], 'Product'[Product], Retail[Product] )
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
60 | |
60 | |
54 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |