Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OBIEE 10g Pivot table - dispaly all months even without data

Nihar JNov 16 2012 — edited Nov 16 2012
Hello experts,

I have a requirement to build a Pivot table where

Columns - months (last 6 months)
Rows - Categories
values - no. of items per category per month.

The requirement is to display all the months regardless of the data.

i.e
May June Jul Aug Sep Oct Total
abc 1 1 1 0 1 1 5
pqr 2 1 0 0 2 1 6


Note in above case that August does not have any data, but I could achieve to show this month by using union query, now the problem is the union query always generates an additional row.

May June Jul Aug Sep Oct Total
abc 1 1 1 0 1 1 5
pqr 2 1 0 0 2 1 6
0 0 0 0 0 0 0

I need a solution to suppress this additional row.

Additionally, when there is no data at all, I need to activate the "No Result" view, but due to the union query there is always one record and the report will never show "No Result" message.

I tried using Javascript also to suppress the additional record, which helped me at some extent but not consistent. It still sometimes displays the additional row if someone accidentally refreshes the dashboard.

Please let me know if anyone came across such scenario and was able to resolve it.

Thank you,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2012
Added on Nov 16 2012
2 comments
1,698 views