Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 considerAccept it as the solution to help the other members find it more quickly.
Appreciate your Kudos ![]()
Stand with Ukraine!
@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] )
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 21 | |
| 18 | |
| 11 |
| User | Count |
|---|---|
| 56 | |
| 54 | |
| 43 | |
| 36 | |
| 34 |