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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.