BI Publisher (MOSC)

MOSC Banner

Data Model - online mode creation - CountDistinct aggregation

edited Apr 5, 2013 9:37AM in BI Publisher (MOSC) 5 commentsAnswered
Hi,

I have the following requirement to build a Data Model in online mode with BI Publisher 11.1.1.6.8.

 

Creating the Element By Expression: CountDistinct the number of rows of a column OVER PARTITION BY another column.

 

Example:

Column 1           Column 2        calculated item: countdistinct(column2, column1)

    A                        1                                      3

    A                        2                                      3

    A                        3                                      3

    B                        2                                      2

    B                        2                                      2

    B                        3                                      2

    B                        3                                      2

 

I tried subgrouping within a SQL dataset to aggregate the other column, however the aggregation CountDistinct is not available.

Would one have been successful in builing such a function with BIP in online mode and could explain how to proceed ?

Regards,

Matthieu Miquel

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center