Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 212 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Adding a filter in/to column formula does not work

Hi
I have a dimension such as order id or order number i.e. 12345 and I have another dimension that has 2 values Y and N...I want to count distinct the order id and then add a filter expression to get only the Y so I end up with # of orders that are only Y but for some reason I am getting the total number of orders, basically, the filter is being ignored.
Any idea?
Thanks
Joe
Answers
-
Hi Joe,
You will need to do an extra effort ...
First by being explicit on the product and version (OBIEE and Publisher are packaged together while being 2 very different products).
Joe Choueiri-Oracle wrote:... for some reason I am getting the total number of orders, basically, the filter is being ignored.Any idea?
No idea if you don't at least post the formula you wrote and as many details as possible.
Random guessing answers aren't going to help you...
0 -
Sorry Gianni, you are right.
I am talking about OBIEE 12C...keep in mind that I only have access to build analyses to certain subject area and do not have access to the RPD.
I have one fact and in this fact I have dimensions and one measure which is the amount....in the dimensions one of them is the opportunity id (i.e. 12345) then I have another dimension that flags if the oppty is Y/N and I am trying to count only the opptys that are Y
So the formula is
FILTER(COUNT(DISTINCT "Fact - Country Bookings Non-OU Opportunities"."Opportunity Name") USING ("Fact - Country Bookings Non-OU Opportunities"."Common OU Opportunity Flag" = 'Y'))
And, it is counting all the Y & N.
Hope this is clearer and thank you for your help as always.
Joe
0 -
I believe you need to move the filter function inside the Count Distinct formula. If that doesn't work, A case statement like
CASE WHEN "...Common OU Opportunity Flag" = 'Y' then 1 ELSE 0 END always works.
0 -
Thanks Jerry- case statement worked
0