Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 Oracle Analytics News
- 43 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Pivot table Sub Total for records within each Accounting Period.

I want to achieve Total column only for records with price mentioned above for each AP excluding columns with "WAC".
Ex: For AP 01, I Want to have Total column Before "WAC", which totals values with prices 5.111 and 5.112 excluding values in "WAC".
Please help me how to get this done in OBIEE 11g.
Thanks
Prabhu
Answers
-
You can't use the automated totals/subtotals options of the pivot, because they would be on everything or nothing.
Depending on what your "5.111", "5.112" and "WAC" are (measures, values of a dimension attribute etc.) you will need to add an element there with your calculation.
If it's measures add a new one with the required formula, if it's values of a dimension attribute you could try adding a new group entry or a calculated item.
0 -
Adding to @Gianni Ceresa response, you will need to create a column with a formula with logic similar to this:
FILTER(SUM(measure BY AP dimension column) USING (2nd dimension column <> 'WAC'))
0 -
Hi
Thanks, I will try this, Yes values "5.111", "5.112" and "WAC" are measures. Yes automated subtotals are for everything or nothing.
Thanks
Prabhu
0 -
Thanks Joel, I will try this option and let you know what happened.
0 -
I created a column with formula which is another measure, But how does this work as pivot subtotal?
0 -
How this works as pivot column?
Thanks
Prabhu
0 -
How can the new measure you created be a row?
How can that be a measure if few post ago you said "5.111", "5.112", "WAC" are the measures? That's impossible!
The measure it's either your rows or your columns, it can't be both at the same time, you better figure out exactly what is what.
0 -
Sorry my mistake, Price, quantity and value are all part of same Aggregate Fact table with item and Calendar as dimension tables. But here we are using quantity and value as measures while price is used as a pivot column,that's the reason i am having this issue.
Thanks
Prabhu
0