If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Rank Function

Started by Bonediggler, 01 Aug 2014 09:33:40 AM

Previous topic - Next topic

Bonediggler

Experts -

I need to rank values in a set based on two fields.  I.e. rank dollars paid per institution per region.  I believe this equates to Oracle's Dense_Rank() function - something like:

Dense_Rank() over (partition by institution, region order by salary) AS Rank

How to do this in Cognos?  I cannot seem to get the "Vendor Specific" functions to work.  Cognos is sitting on an Oracle back-end.

Thanks in advance!

MFGF

Quote from: Bonediggler on 01 Aug 2014 09:33:40 AM
Experts -

I need to rank values in a set based on two fields.  I.e. rank dollars paid per institution per region.  I believe this equates to Oracle's Dense_Rank() function - something like:

Dense_Rank() over (partition by institution, region order by salary) AS Rank

How to do this in Cognos?  I cannot seem to get the "Vendor Specific" functions to work.  Cognos is sitting on an Oracle back-end.

Thanks in advance!

How about a query calculation with the expression:

rank([salary] for [institution], [region])

Cheers!

MF.
Meep!

Bonediggler

Even easier - thanks MF!