我有下表:
ID SubID Data Covered Under
1 A Item1
1 B Item1 Scenario 1
2 Item2 Scenario 3
3 Item3
4 A Item4
4 B Item4 Scenario 2
5 A Item5 Scenario 4
5 B Item5 Scenario 5
如果任何情况下都包含任何项,我想添加一列,以显示其部分覆盖,其外观应如下所示:
ID SubID Data Coverage Covered Under
1 A Item1 Partial Coverage
1 B Item1 Partial Coverage Scenario 1
2 Item2 Full Coverage Scenario 3
3 Item3 No Coverage
4 A Item4 Partial Coverage
4 B Item4 Partial Coverage Scenario 2
4 A Item5 Partial Coverage Scenario 4
4 B Item5 Partial Coverage Scenario 5
关于如何实现此目标的任何想法?