This is my first post, hopefully I explain myself thoroughly. I'm using OBIEE 12.2.1.4.
This is a scenario which I've made up. My real life scenario is very similar to this. I'm having issues using "unions" in my analyis and getting a correct Grand Total %.
So here goes....
I have a database table with Attempts and Completions for time intervals of "week1" through "week10".
I have a dashboard prompt which is a multi-selectable choice list in which you can choose one or more weeks (week1 through week10), represented by a Presentation Variable called PVWeekGroupA.
I have another similar dashboard prompt which is a multi-selectable choice list in which you can choose one or more weeks (week1 through week10), represented by a Presentation Variable called PVWeekGroupB.
The values in these presentation variables can overlap, i.e., you can have "week1" in PVWeekGroupA and PVWeekGroupB.
In the dashboard prompt for Week Group A, I choose week1, week2 and week3.
In the dashboard prompt for Week Group B, I choose week4, week5, and week6.
Jones completed 85 of 130 in weeks 1 through 3 (Week Group A), and 50 of 74 in weeks 4, 5, and 6 (Week Group
. For the season, he completed 145 of 270 (noted by All Weeks in the Week column)
Smith completed 150 of 200 in weeks 1 through 3 (Week Group A), and didn’t play in weeks 4 through 6 (Week Group
. For the season, he completed 180 of 250 (noted by All Weeks in the Week column)
Green didn’t play in weeks 1 through 3 (Week Group A), and completed 30 of 45 in weeks 4 through 6 (Week Group
. For the season, he completed 120 of 190 (noted by All Weeks in the Week column)
The output should look like this:
| Qtr 1 | Qtr 2 | Qtr 3 | Qtr 4 | Grand Total |
Name | Week | Att | Cmp | % | Att | Cmp | % | Att | Cmp | % | Att | Cmp | % | Att | Cmp | % |
Jones | All Weeks | 70 | 35 | 50% | 60 | 30 | 50% | 65 | 35 | 54% | 75 | 45 | 60% | 270 | 145 | 54% |
Jones | Week Grp A | 20 | 12 | 60% | 25 | 15 | 60% | 35 | 22 | 63% | 50 | 36 | 72% | 130 | 85 | 65% |
Jones | Week Grp B | 22 | 15 | 68% | 23 | 15 | 65% | 19 | 14 | 74% | 10 | 6 | 60% | 74 | 50 | 68% |
Smith | All Weeks | 100 | 85 | 85% | 50 | 30 | 60% | 40 | 25 | 63% | 60 | 40 | 66% | 250 | 180 | 72% |
Smith | Week Grp A | 50 | 30 | 60% | 50 | 40 | 80% | 50 | 40 | 80% | 50 | 40 | 80% | 200 | 150 | 75% |
Green | All Weeks | 45 | 30 | 67% | 45 | 30 | 67% | 45 | 30 | 67% | 55 | 30 | 55% | 190 | 120 | 63% |
Green | Week Grp B | 10 | 7 | 70% | 15 | 7 | 47% | 10 | 8 | 80% | 10 | 8 | 80% | 45 | 30 | 67% |
I can get this to work by using “unions” in the analysis. I need Grand Total %, and from what I experienced and read about, there is an OBIEE bug when trying to get that Grand Total % while using unions in the analysis.
So I’d like a solution where I don’t need to use “unions” in the analysis.
If you'd need more information, please let me know.
Thanks,
Tom