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

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.

Reply
Anonymous
Not applicable

Lookup value + if not isblank

Hi 

I have an error with this formula : 

column = IF(NOT(ISBLANK('RoadMapFollowUp as of mm-yyyy'[C Deliverable])), LOOKUPVALUE('Delivrable as of end mm-yyyy'[MD],'Delivrable as of end mm-yyyy'[Deliverable.Name],'RoadMapFollowUp as of mm-yyyy'[C Deliverable]))
here's the error : A table of multiple values was supplied where a single value was expected.
 
I need that the column retrieves data from the "MD" when the "c delivrable" is not empty.
Thanks
 
 

 

6 REPLIES 6
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Do you have only one "MD" for each non-blank "C Deliverable"?

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Hi,

Yes exactly, each non blank C delivrable have one MD

But there is some c derivrable with the same name and have the same MD

amitchandak
Super User
Super User

Try like

IF(NOT(ISBLANK('RoadMapFollowUp as of mm-yyyy'[C Deliverable])), LOOKUPVALUE('Delivrable as of end mm-yyyy'[MD],'Delivrable as of end mm-yyyy'[Deliverable.Name],firstnonblank('RoadMapFollowUp as of mm-yyyy'[C Deliverable],blank())))
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I tried it and i have the fllowing error : Too few arguments were passed to the LOOKUPVALUE function. The minimum argument count for the function is 3.

Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

  1. What table are you adding the column to?
  2.  What is the relationship between the tables?

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Anonymous
Not applicable

Hi,

I'm adding the column to the table "RoadMap..."

The relationship is "many:many" between "delivrable.name" from the table delivrable and "delivrable c" from the table road map.

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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