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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CamJohnston
Frequent Visitor

Getting error message: The name 'LOOKUPVALUE' wasn't recognized. Make sure it's spelled correctly."

Hello, I am getting the following error message when using LOOKUPVALUE.

 

"The name 'LOOKUPVALUE' wasn't recognized. Make sure it's spelled correctly."

 

Here is the syntax of the formula in Power BI:

 

LOOKUPVALUE(DisruptionRTO[RTOScore],DisruptionRTO[TimeSinceDisruptionRTO],ImpactProfile[TimeSinceDisruptionRTO])

 

Image 1 is the ImpactProfile table.

 

Image 2 is part of the DisruptionRTO table.

 

I would be grateful for any help in solving this. Thank you!

 

Power BI 2023-08-21-2.pngPower BI 2023-08-21-1.png

1 ACCEPTED SOLUTION
CamJohnston
Frequent Visitor

Thank you for the quick response. I was adding a column. AM I not adding the right thing?

 

Here is the dialogue.

 

Thak You!

 

Power BI 2023-08-21-3.png

View solution in original post

5 REPLIES 5
parry2k
Super User
Super User

@CamJohnston glad you figured it out, although it doesn't matter but you accepted your own reply as an answer, I would recommend accept the reply as a solution that solved the issue so that others can find it easily. Good luck!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

CamJohnston
Frequent Visitor

@parry2k Kudos! Thank you for the very quick and insightful help. Much appreciated.

parry2k
Super User
Super User

@CamJohnston I expected this, you are adding a column in Power Query and LOOKUPVALUE function is a DAX function. You need to add a calculated column using DAX and that's where you will use LOOKUPVALUE 

 

Calculated Columns and Measures in DAX - SQLBI



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

CamJohnston
Frequent Visitor

Thank you for the quick response. I was adding a column. AM I not adding the right thing?

 

Here is the dialogue.

 

Thak You!

 

Power BI 2023-08-21-3.png

parry2k
Super User
Super User

@CamJohnston what is the actual error? Are you adding a column or a measure?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.