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

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
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.