Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
OBIEE count

Hi i am using OBIEE 1c
What i want to know is is there a possibility to count different unuque values in the table.
For example i want to count something like this
ID Decision id
100 1
100 2
101 1
100 1
So i want to count how many unique combinations od ID and Decision ID are there
Best regards Matija...
Answers
-
Count(Distinct ) will do that. Either set it as aggregation rule or use it in the formula depending on your exact requirement
0 -
If you want to count the unique conbinations then you should do something like count(distinct concat(Concat("ID",'~'),"Decision ID"))
The ~ is use as a separator to make sure that for instance 10 and 11 are not counted as the same as 101 and 1
EDIT: If the ID's are numbers then use Cast as Char to convert them to chars
0 -
If you can display both ID, Decision_ID column, then you can have a ID, Decision_ID and COUNT(*) because group by will be applied on ID and Decision_ID, giving you distinct combinations.
Obviously a shorter format will be Count Distinct in RPD Aggregation or CountDistinct in Analysis (please note the presence of SPACE in RPD formula)
0 -
Yes that is correct, I was thinking too complicated
0 -
Martin van Donselaar wrote:Yes that is correct, I was thinking too complicated
Or thinking right when other columns get in the analysis (or the 2 mentioned aren't there). Never ever imagine the OP will do just what he asked for on the thread
0 -
Yes it depends on the exact requirement. At least the OP now has multiple solutions to choose from :-)
0 -
Seems like he is very famous....
0