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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
Resident Rockstar
Resident Rockstar

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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