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

How to make the first and last value into report studio

Started by safafin, 08 Nov 2016 08:21:07 AM

Previous topic - Next topic

safafin

Hi Guys,

My example data :





Product1Product2
ACOMM5000
BCOMM3500
CCOMM


I would like to make a OVER() with LAST_VALUE on Product1 whether the next value doesn't exist and FIRST_VALUE on Product2 whether the first element doesn't exist.
And that directly into Report Studio or Framework.

My would like data :





Product1Product2
ACOMM50003500
BCOMM50003500
CCOMM50003500

P.S : The void values don't exist into database.

Thanks for your help.