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
Anonymous
Not applicable

Create a column or Existing column in a Table A and display this column in a Table B

Hello ,

 

I own of 3 tables with several fields and keys with a format like text or numeric in function of the column.

 

I can like create a link with powerbi with the tools "manage links" . But it's impossible to call columns of Table A in Table B with the DAX function "related". When i see the link in "manage links" I can see the link ...

 

I create a column "toto" in Table A and column "titi" is already exists by default. In Table B in DAX I write " =related(tableA(toto))" or " =related(tableA(titi)) " .

 

For Power Bi , Table A doesn't exists ... I'm not miro A , B and C exists !

 

How I can force the display of column "toto" and/or "titi" of the Table B in Table B ?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

For technical reason I change the system to link between the tables I use on the tool bar "modify query " > "combin" > "add or fusion query".

View solution in original post

6 REPLIES 6
HotChilli
Super User
Super User

I suppose this could be caused by the direction of the relationship that is created. 

powerbi won't traverse a relationship in the 'wrong' direction.

When you write the DAX for the calculated column, Intellisense will help you by showing what fields are available.

Can you show a picture of your relationships?

 

Edit: Also RELATED only works going to the "one" side of a relationship

Anonymous
Not applicable

Hello @HotChilli ,

 

I own several link "1:n" between 3 tables reltated to a telecom activity :

 

Customer

Subscription

Change_Subscription

 

A customer can own 1 or more subscription (1:n) , a customer can own 1 or more exchange of subscription (1:n) .

 

 

OK, in which table are you trying to create the column?  And which table are you getting it from?

Anonymous
Not applicable

In Subscription and Exchange_subscription I want use "related()" with a paramater from Customer.

It should be possible.

1. Can you link your pbix and i'll have a look

2. What do you get in intellisense when you type RELATED in the formula bar?

Anonymous
Not applicable

For technical reason I change the system to link between the tables I use on the tool bar "modify query " > "combin" > "add or fusion query".

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.