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
Anonymous
Not applicable

This datamodel works... But why?

I want to filter Table2 by category column in Table1...  The category columns in the two tables are somewhat different:

Table1[Category] contains "A","B","no category"
Table2[Category] contains "cat A", "cat B", BLANK.

I use the bridge table to connect them. However, I have to leave out the "no category" - BLANK row in the bridge for it to work. I suspect this is because the entries without categories in Table2 are blanks. 

Can I just leave it like this or is it better to assign a value to all the blanks in Table 2 and add a corresponding row in the Bridge Table?
It works... I just don't understand why 🙂

 

bridge.PNG

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

Please share the demo if possible. Please mask the sensitive parts first.

That depends on your requirements. If you'd like all the records to show up, you need to match them in the [TableBridge]. 

Why does it work? I think the main reason is the relationship isn't in "the strict mode". For example, 

A    D

B    E

We can create a relationship between the two columns above though there isn't any match. 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello, and thanks for the answer 🙂
I have attatched the model in the file below 🙂 

So the question is why it is possible to filter table2 by category in table1 when "no category" has not been mapped to BLANK in the bridge table.

https://drive.google.com/open?id=1QcDo3lzjDrHiTJ9UOx8DR6u-k8dMNbTu

Hi @Anonymous,

 

Please have a look at the two demos below. I believe you will find the answer. 

1. Delete any one of the relationships. What can we expect? The visual works fine though the result couldn't be the desired one. Because the numeric data have aggregation. 

This-datamodel-works-But-why

2. With the relationship and we add one more category. Actually, the relationship isn't clear. 

This-datamodel-works-But-why2

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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