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
DSwezey
Helper III
Helper III

Multiple Relationships to same data in one table

I have a table setup to view total profit of products by date (in this case per month).

 

DSwezey_0-1634934024010.png

As you can see, there are 4 columns. One for Date and the remaining 3 for the products (Drinks, Meals, Snacks). 

What I am looking to do is also have a Date, Products, and Profit column representing the data above. Reason be is I have other table containing both date and product columns that I want to make relationships with. 

 

Something similar to the below screenshot:

DSwezey_2-1634934356741.png

 

 

 

1 ACCEPTED SOLUTION
DSwezey
Helper III
Helper III

Figured it out. If I select the Drinks, Meals, and Snacks columns and unpivot them it does exactly what I need to.

View solution in original post

1 REPLY 1
DSwezey
Helper III
Helper III

Figured it out. If I select the Drinks, Meals, and Snacks columns and unpivot them it does exactly what I need to.

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.

Top Solution Authors
Top Kudoed Authors