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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.