Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Need help on Union report

I am trying to build an union report from two subject areas as shown below -
Invoice Number | Order Type | Invoice Quantity |
---|---|---|
17020004 | NULL | 4000 |
17020004 | ITA 1001 Order | 0 |
"Invoice Number" is common in both the subject areas while "Invoice Quantity" comes from first subject area and "Order Type" from the other.
I am passing NULL as dummy value for "Order Type" and 0 for "Invoice Quantity".
Currently I am seeing two rows per "Invoice Number" while i want to see only one. Can anyone please suggest a way around for this?
Answers
-
dont know exactly what do you want to show a only one Row, because your attribute (Order Type) has different values. if you want to show the sum by the Invoice Number, show use a Pivot Table Object. honestly dont know exactly what do you behind your requirement
0 -
Well, of course you will see two rows, one with order type NULL, the other with order type "ITA 1001 Order" (exactly as in the table you are showing).
But maybe I do not understand your issue?
You need to conform the Invoice dimension to be able to properly join these facts together.
0 -
Thanks for your responses.
The NULL value you see in "Order Type" column in the first row is a dummy value i have passed in the column formula, as this column is not available in first subject area.
My requirement is to show the data in the following format -
Invoice Number
Order Type
Invoice Quantity
17020004 ITA 1001 Order 4000 Is this achievable?
0 -
Not by using a union query.
What are your models like? You need a conformed Invoice dimension because that is what you need join the 2 data sources on.
Please provide details on your data model so we can give some more detailed advise.
0 -
USE Drives Design ... create a subject area that has the data already conformed and related from the BMM layer. Then you don't need a union and the Order Type attribute is not an issue and SUM(Quantity) works as expected.
0 -
Thanks all for the suggestions.
I made changes to RPD and brought "Order Type" column in first subject. I don't need a union report any more.
0