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
CloudMonkey
Post Prodigy
Post Prodigy

Can't link 2 columns, one of which is calculated

Hello 🙂

 

I am trying to link column "Branch" in table 1 with column "Highest branch number for brand" in table 2. But the link does not work. I suspect the problem is that "Highest branch number for brand" is a calculated field that refers to table 1 but please could someone tell me why that means I can't create a link? How should I go about this?

 

Capture1.JPGCapture2.JPGCapture3.JPG

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@CloudMonkey,

 

You may change it as follows.

 

Highest branch number for brand =
MAXX (
    FILTER ( 'table 1', 'table 1'[Brand] = 'table 2'[Brand ] ),
    'table 1'[Branch]
)

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-chuncz-msft
Community Support
Community Support

@CloudMonkey,

 

You may change it as follows.

 

Highest branch number for brand =
MAXX (
    FILTER ( 'table 1', 'table 1'[Brand] = 'table 2'[Brand ] ),
    'table 1'[Branch]
)

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-chuncz-msft Smiley Very Happy

CloudMonkey
Post Prodigy
Post Prodigy

This is the power bi file incase that's easier https://expirebox.com/download/ded42f08f5b1e1400a2fd0a92dcb3bd6.html

Did my question not make sense?

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.