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

table/matrix don't show all data - inner join instead of left join (column order changes everything

Hello,
I have strange issue. I have two tables, lets say Fact and Dim:

Csc1_0-1643186180766.png


I would like to show all data for ID from facts even if Dim doesn't have data for specific ID (ID in example: 39779):

Csc1_1-1643186302402.png

ID and Info1 comes from Fact, Manufacturer from Dim. When I change order of column data for Info1 are dissapearing, why ? There is no ID 39779 in Dim intentionally:

Csc1_2-1643186414606.png

 

Why info1 is blank now ? Dim needs to have multi rows for 1 ID because sometimes I have more than 1 manufacturer for specific ID. It is not first time when i encountered this kind of missunderstood. Thanks in advance for help.

pbix on wetransfer:
https://we.tl/t-yvAbyIaogL

 

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Csc1 

 

Based on my observation and test, it seems when the adjacent columns are from the same table, they filter each other by the relationship in their based table. But when another column from another table sits between them, it would be that ID filters Manufacturer, then Manufacturer filters Info1. ID would not filter Info1 directly.

 

I hoped to find some documentation explaining how this filter works but unfornately I haven't found anything that can clarify the logic behind it. It's interesting and mysterious...

 

Best Regards,
Community Support Team _ Jing

CNENFRNL
Community Champion
Community Champion

It's absolutely strange if there were no strange issues popping up with a *:* relationship + bilateral filtering.

 

Normalize your data model to star schema unless you are a seasoned expert of data modeling.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Csc1
Frequent Visitor

What if i can't because on 'Dim" (let's skip the name of table, i know its not dim 🙂 ) i have 2 Manufacturer for one id in fact table and i have to show both ?

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.