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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Super User
Super User

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
Super User
Super User

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors
Top Kudoed Authors