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
biAiva
New Member

Date filter on historical related tables (many-to-many relationship)

Hi,

I'm trying to use the many-to-many relationship  to relate two historical tables: Accounts and InvestmentsDetails linked by AccountId. 

Both tables has duplicated values, because there is one registry for each date in the Accounts table and many registries for each date, each account and each investment option in the InvestmentDetails table . 

 

I though I would be able to link both tables by the AccountId column and also to the Date table in order to filter both tables for a selected date, but it is no possible to mantain both relationships active, so I can't solve the problem this way... any suggestions?

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @biAiva ,

 

As you know, only one relationship between two tables can be set to active. However, you could use USERELATIONSHIP function to specify the inactive relationship when applying filters via measure.

 

Best regards,

Yuliana Gu

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

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.