Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 55 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Subquery in data filter in Admin Tool
Hi.
does anyone know is it allowed to put subquery in data filter like this?
"ADW_TEST"."Costs"."Prod id" IN (SELECT "ADW_TEST"."Products"."Prod id" FROM "ADW_TEST"."Products" WHERE "ADW_TEST"."Products"."Prod category id" != 205 )
205 value is currently hardcoded, it will be changed by a variable later.
Answers
-
You could create a 2nd Analysis which returns the "Prod Id" subquery, then apply it to your main Analysis in the filter as below:
0 -
mmajdana1 wrote: @joel I want to apply this in RPD as a part of security.
Did you look at Row-Level Security (Data Filters) in the RPD? This is what they are there for, to filter data retrieved by business models / subject areas based on some conditions.
0 -
Adding to @Gianni Ceresa's row level data filtering suggestion, you'd also need to add your PRODUCTS table as an additional Logical Table Source in your COSTS logical dimension. Once you've done that, then the data filtering should fit your use case.
0

