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
MrBIn
Frequent Visitor

Problem using DateTable with two active related tables

Hello,

 

I have two tables:

"Budget" - contains information about budget of invests

"IST" - contains information about actual used budget of these invests

These two tables are related to each other, using the field "Invest No.", which exists in both tables. I need this connection to put budget vs. actual in different graphics.

 

Some of these graphics require a month based comparison, that's why I added a DateTable "Datum" and planned to make these connections:

"Datum" and "Budget" using the field "Buchungsdatum"

"Datum" and "IST" using the field "Buchungsdatum".

 

2022-03-11 11_23_07-Investitionsplanung - Power BI Desktop.png

 

The problem now is, that I can't make both of these new relationships active, because there already exists an active one between "Budget" and "IST" (which I need).

 

I want to be able to use the DateTable to filter both "Budget" and "IST" at the same time, but still not lose the relationship between "Budget" and "IST". 

Side note, if relevant: it is not guaranteed that "Invest No." exist in both tables

 

What options do I have to make this work?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MrBIn , I would suggest to create one more bridge/common/diemension table

 

https://www.seerinteractive.com/blog/join-many-many-power-bi/

View solution in original post

2 REPLIES 2
VIJAYKUMART
Resolver I
Resolver I

HI..

step1:  Buchungsdatum (date column)  in budget table should be connected to date table (1 to many) 

step2   Buchungsdatum (date column)  in IST table should be connected to date table ( 1 to many)

step 3 : delete the relation between budget and IST.

step 4 : make invest no. relation between budget and actual

 

i think helps ur time intelligence issue..

 

amitchandak
Super User
Super User

@MrBIn , I would suggest to create one more bridge/common/diemension table

 

https://www.seerinteractive.com/blog/join-many-many-power-bi/

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.