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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
VonMurray
New Member

Unable to create new calculated column using a lookup value column

Hello All, 

I'm not sure if this is a glitch or if I'm doing something wrong. I've done this plenty of times in the past but it is not working now.

I have two calculated columns using the LOOKUPVALUE function to bring data back from other tables. Both have direct relationships.

VonMurray_0-1741220897194.png

I want to create a calculated column to add the two values together.

VonMurray_1-1741221068555.png

As soon as I hit enter, the formula dissapears.  No error messages appear.

VonMurray_2-1741221130661.png

 

It does this with any formula I tie to a calculated column using the LOOKUPVALUE function.

Do you know if this is a glitch or am I doing something wrong?

 

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @VonMurray 

If there's a direct relationship between the two tables, use RELATED function on the many side of the relationship to access the value from the one side.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
VonMurray
New Member

Thank you all very much.  One of my data tables had duplicates and blanks; I cleaned that up. That allowed the RELATED function to work.

danextian
Super User
Super User

Hi @VonMurray 

If there's a direct relationship between the two tables, use RELATED function on the many side of the relationship to access the value from the one side.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Ashish_Mathur
Super User
Super User

That is strange.  Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

If there are relationships then use RELATED. If there are no relationships, use TREATAS.  LOOKUPVALUE should only be used if really, really nothing else works.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors