we are in a trail to create a crosstab with rolling months
as columns,i mean we have a crosstab with LOB as rows and
loan amount as measure,coming to the main problem we have
to create dynamically changing column in the columns of the
crosstab.The requirement is ...we must have two dynamic
columns like feb 08 and feb07.For example if current date
is feb 28,we have to get the loan amount from 1st of feb to
27 of feb 2008 as feb08 and loan amount from 1st of feb to
27th of feb 2007 as feb07 columns.Please suggest us the
possible way....thanks in advance....



we are in a trail to create a crosstab with rolling months as columns,i mean we have a crosstab wi..

Answer / s sri harsha mediboyina

We can achieve the same using List rather than going for
Crosstab.Create two data items like

Feb08:

if([Date]>=_first_of_month(2008-02-28)
and [Date]<(2008-02-28))
then([Loan Amount])
else(0)

and

Feb07:

if([Date]>=_first_of_month(2007-02-28)
and [Date]<(2007-02-28))
then([Loan Amount])
else(0)

Then place Data ,Feb08 and Feb07 columns in a list and that
will do the samething as crosstab does.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Cognos Interview Questions

where you can save the report net documentation in our local system?

0 Answers   IBM,


Hi all, I have a list report with Country, City & Revenue. In the run time i want to hide the particular column. I have tried using Java script but i didn't get any out comes. Please any one share steps for me....

2 Answers  


What do you understand by ‘ibm predictive maintenance and quality’?

0 Answers  


Is there any comparison available for Cognos Reportnet Vs Crystal reports?

0 Answers   IBM,


What is the difference between List and Cross tab? Could some on explain with an example..

2 Answers   Barclays,






When we save a report in report studio with what extn it save?

0 Answers  


How do you test the performance of a report?

3 Answers   TCS,


How can we publish package to QA environment not cognos connection?(if we have two URL one cognos connection and qa environment how can we publish package to qa?)Please anybody give me the answer.

4 Answers   TCS,


How to find out OLTP data OLAP data ? i.e 5 years data is OLTP or OLAP. please anybody help me...

2 Answers   HCL, IBM,


Hi, I am Searching on Cognos 8, If any experienced person can send out a project or explain a realtime scenario that would be very helpful for me. Please be kind towards me and help me in this regard. I am really finding difficult to find a person who can guide me in this feild. Your help will be highly appriciated. My email id is balajishriram@gmail.com. Hope you will help....

3 Answers   Deloitte,


How applying "Level Span" in Cognos 8.3?

1 Answers  


Can you define cognos impromptu?

0 Answers  


Categories