Forum Discussion
How to structure or connect data to allow for click down visual?
Hello,
I am hoping to get a better understanding of how to structure and connect two data tables in order to allow for a click down visual instead of two separate visuals. Below I have shown my current graph how I would like to change it. Below that I've shown how my data is structured.
This is my current graph showing progress completed on all projects by quarter and week. I would like to add a slicer so that I can select a specific project and see just for that one project how much progress was made by quarter and week.
My data set structures...
In one data set I have a list of projects worked on by quarter and the progress (as a percent) that was made each week of that quarter. The progress for each project is represented in two ways: 1) percent progress made JUST that week and 2) percent progress made to date for that quarter. Example...
| Quarter | Week | System | Percent Progress For Specific Week | Overall Progress for Quarter |
| Q1 | Week 1 | Oracle | 0.531 | 0.531 |
| Q1 | Week 1 | SAP | 0.616 | 0.616 |
| Q1 | Week 1 | JDA | 0.676 | 0.676 |
| Q1 | Week 2 | Oracle | 0.199 | 0.73 |
| Q1 | Week 2 | SAP | 0.099 | 0.715 |
| Q1 | Week 2 | JDA | 0.064 | 0.74 |
I then have a separate table that shows the same progress percentages, but taking into consideration all projects for a week.
| Quarter | Week | Percent completed for specific week | Percent Complete overall for quarter |
| Q1 | Week 1 | 0.53 | 0.53 |
| Q1 | Week 2 | 0.20 | 0.73 |
| Q1 | Week 3 | 0.23 | 0.96 |
| Q1 | Week 4 | 0.02 | 0.99 |
| Q2 | Week 1 | 0.27 | 0.27 |
| Q2 | Week 2 | 0.56 | 0.83 |
| Q2 | Week 3 | 0.07 | 0.90 |
| Q3 | Week 1 | 0.32 | 0.32 |
| Q3 | Week 2 | 0.62 | 0.94 |
| Q3 | Week 3 | 0.05 | 0.98 |
Hi lnforman ,
You may create calculated column in the second table 'Table2' to get the related Project, assuming the "Project" as you said is referred to the Table1[System] and there is a relationship between Table1 and Table2 .
System_matched= RELATED(Table1 [System])Then you may put the Table2[System_matched] into Legend box of chart.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- v-xicai
Community Support
Hi lnforman ,
You may create calculated column in the second table 'Table2' to get the related Project, assuming the "Project" as you said is referred to the Table1[System] and there is a relationship between Table1 and Table2 .
System_matched= RELATED(Table1 [System])Then you may put the Table2[System_matched] into Legend box of chart.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.