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
Miskondukt
Helper III
Helper III

Link Two Tables for visual link

Lo again,

 

I am using two tables for a variety of display visuals but I cannot link one table directly to another due to no single value in either of the two referenced tables (WklyRawData & Goals). I am sure I am also not setting this up as efficiently as possible as I am having to create a numbe of tables from my raw data to get these to work. 

 

I would love to have the bubble chart also act like a slicer for all visuals on this first tab, but since the relationship isn't there the bubble only impacts four of the various visuals. 

Any tricks/tips on what I can do to remedy this?

PBILink1.png

 

 

 

 

 

 

PBILink2.png

 

 

1 ACCEPTED SOLUTION

Hi @Miskondukt,

 

From your original post, I notice that you have very complex and unclear relationships for your modes.

 

Normally, we should have one fact table(Sales) with multiple dimensions tables(i.e. Date, Product, Location), then build up relationships around the fact table with multiple dimensions tables, which is often called a Star schema configuration (a central table with several Lookup tables). In this way, it will be much easier to build up visuals that can cross filter each other on the report. Smiley Happy

 

rrr.PNG

 

For more details about how to create and manage relationships in Power BI Desktop, you can refer to this article.

 

Regards

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Create a locations table, with each location being unique and having your location code.  Link all of those tables to this location table.  Then on your bubble chart, use that location table as the filter.

That 'location's table' is the "Main Companies" table displayed on the relational image and when I attempt what you recommend I get the following:

 

PBILink3.png

 

 

 

 

 

 

 

Am I missing something? All tables are linked via location to that Main Companies table.

Anonymous
Not applicable

Check your link between 'Main Companies' and the weekly data. It needs to be a solid line with a 1 to many relationship.  It might even be worth deleting the relationship and relinking it.

@Anonymous Thank you helping guide me in the right direction. I tried that option and got a few more notices from PBID. 

PBIRelationship1.png

 

 

 

 

 

 

 

 

 

 

 

PBIRelationship2.png

 

 

 

 

 

 

 

 

 

I corrected the relationship to a solid line but cannot change it to 1 to many, says "the cardinality you selected isn't valid for this relationship." Have also tried removing all of the indirect relations and received the same response.

Hi @Miskondukt,

 

From your original post, I notice that you have very complex and unclear relationships for your modes.

 

Normally, we should have one fact table(Sales) with multiple dimensions tables(i.e. Date, Product, Location), then build up relationships around the fact table with multiple dimensions tables, which is often called a Star schema configuration (a central table with several Lookup tables). In this way, it will be much easier to build up visuals that can cross filter each other on the report. Smiley Happy

 

rrr.PNG

 

For more details about how to create and manage relationships in Power BI Desktop, you can refer to this article.

 

Regards

Got it! It was editing the cross direction filter to "Both" from single.

Correct me if I am wrong, when you state a "fact table" then that is a table of cleaned data that would act/represent that fact table rather than the organic (exported) data?

Anonymous
Not applicable

Try restructuring your data relationships such that your "Main Companies" table is in the middle and all other tables (where possible) link directly to it.   Kind of like a star pattern.  The visual interface can help make this easier too.

Some tables won't have a relationship with Main Companies directly, if they don't use the location code and thats fine.  They can link where required to their intended tables.

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.

Top Solution Authors