Skip to main content
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

Helper II
Helper II

Table relationships



in my model I have a Date table, using it a slicer, Employee table, using it for usercode. there are 2 different tables for Sales and Returns. I created the relationship between the Date to Sales & Returns to filter the monthly sales and returns. Also created a relationship and connect Employee to Sales & Return to show the employees' name rather than the codes and also be able to filte the names in the report. the relationships are 1-* and single. Now that I run the report it works well for the returns but not for the sales, the numbers are blank. Please advise me.



Date(Date and Sales Table) is the culprit. Make sure that you have matching records for Date.

View solution in original post

Resident Rockstar
Resident Rockstar



Is it possible to share your model diagram? Your result screenshot?




The right side should show the sales diagram and numbers which are blank now.


You should set up the Employee table to have a one-to-many relationships with both fact tables instead of many-to-many.

Also, can you post the measures you are using in the visuals?

Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.

I did change that still not working


Upsells = CALCULATE(COUNT('Sales'[ActivityCode]), FILTER('Sales','XDAT-Upsell'[ActivityCode]= "UPSE"))



Is it possible to share the pbix file (without any sensitive info)?

 Yes, can I have your email address?


X-DAT and Upsells are calculated measures?

yes they are.


Date(Date and Sales Table) is the culprit. Make sure that you have matching records for Date.

I changed the data type of the Return table in Power Query and it worked.

I ensured that the Date column, EffectiveDate, and EnteredDateTime in the three tables have the same data type and format, and there are matching records for Date. Still no result.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors