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

Related Tables not working

Hi All,

 

I'm having an issue with related tables.

 

I have 2 tables that connected on a unique ID on a 1:1 relationship. For clarification I have several productnames for each HH of the day so the unique ID is the datetime and the product name.

 

Both tables have exactly the same date range and product list (one is supply, the other is demand).

 

However, when I try and do a bar chart visualisation, as soon as I try and plot the data against a date series, one of the values will sum under (Blank) rather than against the date series.

I.e. if I plot supply and demand against the demand dates then supply will sum under (blank) and vice versa. The image below shows this with the Supply Dot in black but the demand plotted against the dates.

 

Weirdly, i have another 2 tables that are exactly the same, but with other S/D data and they work perfectly.....

 

Any help would be appreciated.

 

PBI.PNG

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@willcarlisle311,

 

You could use the relationship to a new table which contains all the unique IDs.

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

View solution in original post

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@willcarlisle311,

 

You could use the relationship to a new table which contains all the unique IDs.

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

This has been solved - thanks for all replies

@willcarlisle311,

 

Glad to hear that. To close this thread, you may help accept the solution. Your contribution is highly appreciated.

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

First thing I would check is your relationship direction. Probably want it to be bi-directional.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

i have a similar problem. My tables are connected, i have a both way cross filter direction. But when i try to drag the field from the two different tables connected via 3rd table (with all unique values), it gives me the following error. My earlier error is in the snip belowerror pic.PNGrelational error.png

It is (1:1 cardinality so running both ways)

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.