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
- 56 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
Using filter in column formula does not work
Hello,
I am working on OBI 12.2.1.2.0. I am trying to filter on column formula like,
FILTER("Fact Product"."Total of Policy" USING ("Dim Agency"."Agency Name" = 'Asia Region')) but it is not working.
For example:

These are two columns return same value but first column should be 12,second column is 56(correct). Also when i am looking physical sql, i can not see any filter.
Please, can you help me ?
Thanks
Answers
-
Hi,
You can use case statement to fitter the condition. Check the value for agency name = Asia Region
CASE WHEN "Dim Agency"."Agency Name" = 'Asia Region' THEN "Fact Product"."Total of Policy" END
0 -
Hi,
Check the level of data in which these figures are displayed. If you are expecting the number at a lower level, you need to group the data by that level. Define the "By level" at the end of the FILTER to achieve the desired result. OBIEE needs to understand the level of aggregation at which the FILTER is applied. What I mean to say is use the filter as FILTER("Fact Product"."Total of Policy" USING ("Dim Agency"."Agency Name" = 'Asia Region') By "Dim Column"). The "Dim Column" should be the level of the Dimension at which the data is to be aggregated.
0