cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeterK
Regular Visitor

Matrix group column two tables

Hi Community

i want to merge some data from two tables in a matrix view. 

the "Jahr" column the year column is present in both tables.

I connected them to a m:n relationship.
but then i cant use the relasionship to the other tables like sparte and vermittler 
 
PeterK_0-1652879123747.pngPeterK_1-1652879177566.png

 

 

andy ideas?

 

 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @PeterK,

AFAIK, the current power bi data model only allows one major relationship activated. (the others will be turned into inactive to prevent the conflict of analysis and aggregations)

I'd like to suggest you take a look at the following link to use star schema with dimension tables to link different tables:

Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Assuming you have a Date column in your Data table, create a Calendar Table with calculated column formulas for Year, Month name and Month column.  Sort the Month name column by the Month number.  To your visual, drag the Year column.  Create a relationship from the Date column of each table to the Date column of your Calendar Table.

Does this help? 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-shex-msft
Community Support
Community Support

HI @PeterK,

AFAIK, the current power bi data model only allows one major relationship activated. (the others will be turned into inactive to prevent the conflict of analysis and aggregations)

I'd like to suggest you take a look at the following link to use star schema with dimension tables to link different tables:

Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors