A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You are welcome. If my reply helped, please mark it as Answer. Please clarify your question.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm currently trying to create a report with data pulled from two sharepoint lists. The lists are linked through a field called Select Project ID. I have created a relationship using data model in excel between the two tables - it is a 1 to many relationship.
When I start pulling the appropriate columns from the two tables into rows in the pivot, it's creating duplicate entries
How I would assume the pivot would work is demonstrated in the first image below: Pull in the Project Name Column from table 1 or table 2, Pull in the Sub Projects associated to the Project Name in table 2(the many relationships), and when I pull in the duration column from table 1 - it should only pull in the duration for that corresponding project row.
| Project Name (Select Project ID) | Sub Projects | Project Duration |
|---|---|---|
| Project 1 | Sub Project 1 | 1 Month |
| Sub Project 2 | ||
| Sub Project 3 | ||
| Project 2 | Sub Project 1 | 2 Months |
| Project 3 | Sub Project 1 | 3 Months |
How it is actually working is shown below: Pull in the Project Name Column from table 1 or table 2, Pull in the Sub Projects associated to the Project Name in table 2(the many relationships), and when I pull in the duration column from table 1 - it pulls in the duration for every project for that client and repeats them for every project.
| Project Name (Select Project ID) | Sub Projects | Project Duration |
|---|---|---|
| Project 1 | Sub Project 1 | 1 Month |
| Sub Project 2 | 2 Months | |
| Sub Project 3 | 3 Months | |
| Project 2 | Sub Project 1 | 1 Months |
| 2 Months | ||
| 3 Months | ||
| Project 3 | Sub Project 1 | 1 Months |
| 2 Months | ||
| 3 Months |
I tried slicing the information and got the same results. Is there a way to create this report so that it isn't duplicating information when pulling from two lists/tables?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
You are welcome. If my reply helped, please mark it as Answer. Please clarify your question.
Below is the link with an example:
I included a screen shot of sharepoint as well. the example I have shown is the project duration. I would assume with the relationship of the tables, that each project would only have 1 duration, the one specified in sharepoint. However, all project durations repeat for all projects.
Thanks,
Kate
Hi,
Please create dummy data and then share the workbook.
The workbook has sensitive information in it, so I can't post it. Is there additional information or details I can provide that would be helpful?
Thanks,
Kate
Hi,
Upload the workbook to OneDrive and share the link of the workbook here.