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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
javieezy
Helper I
Helper I

How to have 2 Realationship active at the same time

Hi Dear, 

 

As picture, I want both POD and POL of "StatistcLd" to have active relationship with "PortName" at the same time. 

javieezy_0-1683022529209.png

 

Column looks like this: 

javieezy_2-1683022637909.pngjavieezy_3-1683022677578.png

 

 

 

It doesnt reconize port code from Panama because its not active

javieezy_1-1683022602062.png

 

Any way to do it except by merging 2 tables?

 

TIA

3 REPLIES 3
Tahreem24
Super User
Super User

@javieezy  like @DOLEARY85 said you can not have two relationship active at the same time.  A workaround is to utitlize USERELATIONSHIP dax to make them active at the time of calculation.

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
DOLEARY85
Super User
Super User

Hi,

 

You cant have them active in the model at the same time but any measures you create you can use ACTIVERELATIONSHIP within DAX to activte them both at the same time for that calculations/column

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Thx! How to use calculation if i want to view it as matrix?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.