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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CMSGuy
Helper III
Helper III

Relationship issues part 2

Here is the scenario.  I have three tables of data related by EmployeeID and transaction date.  I figured out how to show data in a visual table, but now I have some missing data based on data from other tables.  Here is a sample of some data and what I am seeing and what I need to see.  If you notice, the data from the first table is good.  The data from the second table is good.  The data from the third table is missing May 4.  Is that because there are no entries to the first / second table(s)?  

 

 Task 1Task 2Task 3Task 4
1-May1 34
2-May12  
3-May    
4-May    

 

 HoursVacSick
1-May8  
2-May8  
3-May 8 
4-May   

 

 Rate1Rate2Rate3
1-May333
2-May333
3-May   
4-May333

 

What is being shown

 Task 1Task 2Task 3Task 4HoursVacSickRate1Rate2Rate3
1-May1 34 8 333
2-May12   8 333
3-May      8   
4-May          

 

What is needed to be shown

 Task 1Task 2Task 3Task 4HoursVacSickRate1Rate2Rate3
1-May1 34 8 333
2-May12   8 333
3-May      8   
4-May       333

 

This is the current relation of these tables

CMSGuy_0-1684513081560.png

Thanks for any help you can give

1 ACCEPTED SOLUTION

Summarising should do the work, if you change the change datatype to text and there is multiple entries for same date, it can only show first or last value.

View solution in original post

6 REPLIES 6
NaveenGandhi
Super User
Super User

Hello @CMSGuy 

I have used the same dataset and relationship as you have provided. This shouldn't cause any issue for this requirement. Relationship is based on transaction date.

NaveenGandhi_0-1684516647398.png

 

NaveenGandhi_3-1684516969373.png

 

The date from the below table visual is from calendar table.

NaveenGandhi_2-1684516727126.png

 

Please provide more information if you still feel the issue is not solvable. 

 

Regards,

Naveen 

 

If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

I do have that extra relation in there of EmployeeID.  I wonder if I removed that if it would "fix" the issue?

That should not be of any impact in the current context, as you are not using any columns from that table in the visual or filter, which might impact the underlying data for the three tables.

 

In recreating what you did using my datasets, I did find that the Ratings "number" is being summarized.  When I clicked Do Not Summarize, I lost that other line of data.  When I do summarize, it is there.  Should I change those rating numbers into Text as they do not need any sums or calculations?  

Summarising should do the work, if you change the change datatype to text and there is multiple entries for same date, it can only show first or last value.

That did seem to do the trick. Thank you for your help

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.