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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Issue with Query

Relationship A

Relationship B

I have this relationship in my tables. I am having a hard time making a new custom column where I want to calculate two values from two different columns from two different tables but I am unable to do it. I even tried used RELATED and and either I get a List type or errors and I am unable to get it work.

 

How can I make a custom table where I pick columns from different tables as one table or how I use columns from table for my new custom column?

 

Thanks in advance.

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Not sure if I get what you are after,  "making a new custom column where I want to calculate two values from two different columns from two different tables", but if it is something like Table1[Value1] * Table2[Value2] then I have had good luck with LOOKUPVALUE().  So you would do two lookups, and the tables don't need to be related.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




View solution in original post

1 REPLY 1
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Not sure if I get what you are after,  "making a new custom column where I want to calculate two values from two different columns from two different tables", but if it is something like Table1[Value1] * Table2[Value2] then I have had good luck with LOOKUPVALUE().  So you would do two lookups, and the tables don't need to be related.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





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

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.