Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 215 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
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Drill down on dynamic column fails

Hi Gurus
I have 2 dynamic columns on my report that are based on the Chart category attribute and Chart Series Attribute variable prompts.
The columns change dynamically based on the prompt value selected.
Problem:
When I drill down on No. of Work Orders, the detailed report does not pick up the filters as it would on the normal circumstances. it returns all results instead.
Example
Summary report has 3 records and I drill down the 1st record and expect 2 records on the detailed report.
The detailed report return all results instead of 2 records.
Column expressions for the summary report:
Category Attributes:
CASE '@{varCategoryAttribute}'
WHEN 'Supervisor Department' THEN "Supervisor"."Supervisor Department"
WHEN 'Manager' THEN "Supervisor"."Manager Position"
WHEN 'Supervisor' THEN "Supervisor"."Supervisor"
WHEN 'Work Order Location' THEN "Work Order Location"."Work Order Location"
WHEN 'Functional Location' THEN "Work Order Location"."Functional Location"
WHEN 'Report Location' THEN "Work Order Location"."Report Location"
WHEN 'Asset Number' THEN "Asset"."Asset Number" END
Series Attribute:
CASE '@{varChartAttribute}'
WHEN 'Reported Week' THEN "Date (Report Date)"."Week No"
WHEN 'Work Event' THEN "Work Order Event"."Work Order Event"
WHEN 'Status Category' THEN "Work Order Status"."Work Order Status Category"
WHEN 'Work Order Status' THEN "Work Order Status"."Work Order Status"
WHEN 'Call Out' THEN "Call Out"."Call Out Description"
WHEN 'Overdue' THEN "Work Order Details"."Overdue"
END
I've made the 2 columns to be is prompted on the detailed report in hope that it would pick up on the filters.
I hope I'm clear, Please assist.
Answers
-
Hi,
Not really sure the presentation_variable is going to be picked up in the detailed analysis (it looks like it isn't) but in any case I think I spotted what you're missing. In your detailed report you have a filter for "Work Order Status Category is prompted" but you don't have one for "Supervisor Department is prompted".
If you look at your detailed analysis results you can see that it's filtering correct on the Status Category (only Open values) but not on the Supervisor Department. I'd say that if you add that to your filter it should work.
0 -
Hi Pedro
Thank you for the response.
The presentation variable is able to be picked up on the detailed report. I just tested that by static text at the top of the detailed report(check the image).
Even though I add the Supervisor Department to be is prompted it doesn't work.
0 -
Hi,
You're right, the presentation variable value does get through so I'm not sure why you're not able to make this work. I've built an example following the logic you want to implement and it's working fine. Take a look here and see if you can spot some difference between what I built here and what you have.
http://slc02oks.oracle.com:7780/analytics/saw.dll?Portal&PortalPath=%2Fshared%2FOTN%2F_portal%2FOTN
Credentials: Prodney / Admin123
0 -
Hi Pedro
It worked! the difference was that I used a CASE (Switch) instead of CASE(IF).
CASE WHEN '@{varCategoryAttribute}{Supervisor Department}' = 'Supervisor Department' THEN "Supervisor"."Supervisor Department"
WHEN '@{varCategoryAttribute}' = 'Manager' THEN "Supervisor"."Manager Position"
WHEN '@{varCategoryAttribute}' = 'Supervisor' THEN "Supervisor"."Supervisor"
WHEN '@{varCategoryAttribute}' = 'Work Order Location' THEN "Work Order Location"."Work Order Location"
WHEN '@{varCategoryAttribute}' = 'Functional Location' THEN "Work Order Location"."Functional Location"
WHEN '@{varCategoryAttribute}' = 'Report Location' THEN "Work Order Location"."Report Location"
WHEN '@{varCategoryAttribute}' = 'Asset Number' THEN "Asset"."Asset Number" END
This worked and the drill down is working also.
Thank you so much !
0