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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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