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
edavila
Helper II
Helper II

Relationship with Material Table and Date

Hello everybody and thanks for helping

 

Im trying to do a sales YTS table to compare year over year and also display the family of the product, cases, amounts, etc.

 

the amounts and cases are ok as they are link together by the date and customer ID, my issue is when Im trying to bring the brand from the material table this is where the things are getting bad as theres no relation between them as the system is displaying, but they are link between one table, I need to be able to make this report and also bring the family brand of the prodcut

 

see pictures

 

thanksthis is what im getting the one in the right has the brand and date for the sales not correctlythis is what im getting the one in the right has the brand and date for the sales not correctlythe relation between tablesthe relation between tables

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @edavila,

Have your resolved your issue? According to the relationship between tables, you can load the Brand in 'SalesYTD' table using RELATED(Material[Brand]). If you want to drag the brand form 'SalesYTD' table, you need to calcute it using aggregated function becuase the many to one(other tables) in your resource table.

 

In addition, would you mind post your .pbix file forther analysis?

Best Regards,
Angelia

CahabaData
Memorable Member
Memorable Member

In your visual (Table or Matrix) - drag in the Date field, the sales amount field (not sure the exact field name) from the Sales YTD table and then add the Brand field from the 2_Material Master table - all into their appropriate data wells in the visuals pane

 

what happens when you try this?

www.CahabaData.com

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.