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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply

Help fixing relationships between two tables.

So I have Input table that looks like the following:

Screenshot 2023-02-27 133927.png

 

I have another table called Labor Detail that has the same exact columns except Predicted with different names.

For example, Department = Home Org Name, Year = FY, Month = PD, Week = Sub Pd

I created a relationship for each column in Input except Predicted. Below is my relationships. 

Relationship.png

 

Now where I am stuck. I have created the table below but it seems "Predicted" value(10) is being added to all the rows. I only want to be in the top row, since that is what input is. How do i fix this. Will I need to create a seperate table called Date and create a relationship from both existing table to that one? Not sure where to go from here.

Table.png

1 REPLY 1
YukiK
Impactful Individual
Impactful Individual

In either data source, Power Query, or DAX calculated column, create a new column that's unique to those 4 columns. Power BI doens't support multiple key relationships, so you'd have to create a key column that defines the grain of your table.

 

If in Power Query, "Add index" will do.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors