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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

See all rows in tabel visualisation

Hi all,

 

I am trying to combine 2 tables into 1 from 2 different sources.

When I made the relationship and try to use the table visualisation, not all the IDs is being displayed, is there any way I can show all IDs in the table and rows where no data will show the data as blank?

 

(I simplified it for easier understanding) 

Table 1:   

1

2
3
4
5
3

3

 

Table 2:

2

$100

3$85
5$55
9$75

 

The 2 columns that I am trying to form a relationship with is the 2 IDs and I am expecting this output:

1

 

2

$100

3$85
3$85
3$85
4 
5$55

 

The current relationship they have now is a many to many relationship for ID. The expected data may not make sense but other columns which exist. I just wanted to simplify it.

 

Many thanks in advanced 🙂

1 ACCEPTED SOLUTION

@Anonymous - Well, it really shouldn't matter which one you choose. Keep the bridge table column and try changing those relationships to single direction versus Both.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

26 REPLIES 26
Anonymous
Not applicable

Hi @Greg_Deckler 

 

I tried doing this and the data still only allows me to select many to many relationship which is odd.

Is there a reason for this?

 

Thank you for your help

@Anonymous - It's really, really hard to say without seeing how everything is configured and laid out. Any screen shots you could post of what you are seeing and how the visuals are configured would be extremely helpful. Can you share the PBIX? Can you share a mock-up PBIX of your data where we can witness what you are seeing? These things are notoriously difficult to troubleshoot. I don't even know what exactly your calculation is.

The screen shot as well as the attached PBIX file (below sig) Page 35, Table (35) and Table (35a) show that it is indeed possible to achieve:

Greg_Deckler_0-1599526374345.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler 

 

Let me try to explain it in a different way.

amelynatwork_0-1599527171733.png

 

This is what I see on my end. The connection from Datasheet to cable schedule works fine. I am currently trying to show the values of the RunAmp from the loadlist for Tag number (unique values) which matches the Cable Number (has duplicates) from the Load List. The Cable Schedule has items which is not in the Tag number of the loadlist and the loadlist also has items which is not in the Cable Schedule. 

 

But when I do that, each and every value of the RunAmp is being printed out for every single row.

 

I am unable to share my pbix as it contains sensitive information.

 

Thank you very much for your help.

 

@Anonymous - Ah, your bridge table still contains duplicates. This can happen in certain circumstances when you have a text-based key. Did you use DISTINCT? I think it can still happen though depending upon casing or there is some other hokey reason for this. Also, your relationship direction from your bridge table is not correct for the right-hand table, it should be pointing the other direction or Both <>.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi @Greg_Deckler ,

 

I used 

Bridge Table =
DISTINCT(
UNION(
SELECTCOLUMNS('Cable Schedule',"ID",[Cable Number]),
SELECTCOLUMNS('loadlist',"ID",[Tag Number])
)
)
 
I have changed the relationship and I still get the result below being repeated for every single row. The numbers on the right is the RunAmp.

amelynatwork_0-1599529080244.png

I cant seem to just get the value for that which matches the Cable Name.

@Anonymous - Is your ID column text or numeric? Can you provide me a sample of the values there or just examples of what they look like? DAX has a nasty case insensitivity habit.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors