Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Krenton
New Member

Column order determines data visibility?

Hi,

 

We have an application that comes with a database (so I can't change the design of the database).

I want to create a big dataset that people can use to build reports on.
For the dataset, I imported the tables separately (using queries) and linked them manually in Power Bi.

Below I created a little example with a part of the database to explain my issue.
I have a customer table, an address table, a contacts table, and a customer-contact-link table (a customer can have multiple contacts and the same contact can be linked to multiple customers/branches )

 

tables.jpg

 

 

Now if I add a table to my Report view, with the fields Customer Name, City and Email, I get what I expect:

Customer-City-Email.jpg

As you can see there is one Customer-City combination that doesn't have a contact email.

Now comes my issue,
If I exchange the position of the City and Email columns, I lose the row without Email:

Customer-Email-City.jpg 

 

 

 

 

 

I don't understand this behavior or how to fix this.
Maybe I think to much with a SQL background, but I would have expected this (modified screenshot):


Expected.jpg

 

 

 

 

 

 

 

Can someone please explain this to me?
I think I already tried every possible combination of cardinality and cross filter directions....

Thanks,
 

1 REPLY 1
lbendlin
Super User
Super User

Please rethink your data model.  Bridge tables are no longer required, but having a distinction between dimension and fact tables will help you get a more deterministic behavior.  Avoid bidirectionals where possible.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.