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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

A table of multiple values was supplied where a single value was expected.

Hello,

I am having that error when I create this formula. May you help me ? 

Master Billing = LOOKUPVALUE('Billing (2)'[Billing],'Billing (2)'[Merged.1],Forecast[Merged.1])
 
but  it worked other formula whioch is below. so I am confused. 
Forecast-Fore = LOOKUPVALUE(Forecast[Forecast USD],Forecast[Merged],'Billing (2)'[Merged])
 
Thank you in advance
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Based on the description, the problem may be due to the LOOKUPVALUE function is returning more than one value for the given condition. There are duplicate values in the column being searched.

Check that for each value in 'Billing (2)'[Merged.1], there is only one corresponding value in Forecast[Merged.1].

Then, try using the aggregator function to ensure that only a single value is returned.

Master Billing = CALCULATE(MAX('Billing (2)'[Billing]), FILTER('Billing (2)', 'Billing (2)'[Merged.1] = Forecast[Merged.1]))

You can view the following document to learn more information.

LOOKUPVALUE function (DAX) - DAX | Microsoft Learn

MAX function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

Based on the description, the problem may be due to the LOOKUPVALUE function is returning more than one value for the given condition. There are duplicate values in the column being searched.

Check that for each value in 'Billing (2)'[Merged.1], there is only one corresponding value in Forecast[Merged.1].

Then, try using the aggregator function to ensure that only a single value is returned.

Master Billing = CALCULATE(MAX('Billing (2)'[Billing]), FILTER('Billing (2)', 'Billing (2)'[Merged.1] = Forecast[Merged.1]))

You can view the following document to learn more information.

LOOKUPVALUE function (DAX) - DAX | Microsoft Learn

MAX function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mohammadyousaf
Resolver II
Resolver II

You should have unique values in 'Billing (2)'[Merged.1] if not unique and you expect multiple matching values then use Max, Min Or Sum with Dax. 

Try this.. 

Master Billing = CALCULATE(MAX('Billing (2)'[Billing]), FILTER('Billing (2)', 'Billing (2)'[Merged.1] = Forecast[Merged.1]))


Anonymous
Not applicable

Hello Mohammad,

Thank you for your reply but I am having different problem. there is no error but I can not see right totals on the table. if you want I can share data with you to your e-mail addresses.

 

Regards

Baris 

Please message me your data let me have a look. 

Kedar_Pande
Super User
Super User

@Anonymous 

In the first formula, check if the columns 'Billing (2)'[Merged.1] and Forecast[Merged.1] are properly related and of the same data type. If the column names or types differ, the formula will fail.

 

Confirm there is a relationship between the tables, or that the lookup is valid across unrelated tables.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Anonymous
Not applicable

Hi Kedar,

Thank you for your reply.  with your recommendation, all the types are same. 

Regards

Baris 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors