COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: dstump01 on 31 May 2013 04:09:38 PM

Title: Display NextMember in BI rpt column header for value selected on prompt screen
Post by: dstump01 on 31 May 2013 04:09:38 PM
In a BI report I created, I have a prompt screen where among other things, a user can select a year. The BI report retrieves data for that year from TM1 along with data for the next year using the NextMember function. All the dollars in every column is displaying correctly in the report but I haven't been able to display in a column heading the value of the next year. The functions available when creating the report expression don't help me. I tried creating a new data item that determined what the year's next member was but I haven't worked that into the heading yet. Any suggestions?
Title: Re: Display NextMember in BI rpt column header for value selected on prompt screen
Post by: cognostechie on 31 May 2013 07:31:35 PM
Click on the icon that looks like a lock. This will unlock the objects and then you can put either a layout calculation or query calculation in the header.
Title: Re: Display NextMember in BI rpt column header for value selected on prompt screen
Post by: MFGF on 03 Jun 2013 06:43:59 AM
What do you get if you use a lead() function instead of NextMember() ? I haven't tried this but it might be worth a go...

MF.