Cross Tab Report question

Hi,
I’m having hard time doing a report like this. I have 2 measures - Revenue and Quote. For each year, i want to display data accross Months.

Year	Jan	Feb	Mar

Revenue 2008 10000 20000 250000
2009 12000 220000 270000
2010 5000 15000 20000
Quote 2008 11111 16666 31111
2009 12222 15666 19999
2010 13333 15555 20000

In a crosstab, once I have my Year in the Row, and Month in the Column, and I drop Reveue in the body, all is good. The moment I drop Quote, it splits each year in to Revenue and Quote and gives me an output like this.

Year	Jan	Feb	Mar

Revenue 2008 10000 20000 250000
Quote 2008 11111 16666 31111
Revenue 2009 12000 220000 270000
Quote 2009 12222 15666 19999
Revenue 2010 5000 15000 20000
Quote 2010 13333 15555 20000

Any help is appreciated. :hb:

If my formatting is lost, please refer to the excel atatched - which exactly depicts my problem
Crosstab.xls (18.0 KB)


BIDeveloper (BOB member since 2009-08-19)

I dont think you can achieve the desired format in a single crosstab block. you might want to split it into two crosstabs - one with Revenue and one with Quote. You can remove the header from the second crosstab and position the two blocks to make them appear as one.


vinod_menon :india: (BOB member since 2007-04-09)

Thanks Vinod for the reply. I cant remove the header row (which is Month) from the 2nd block beacuse if I do so, the data gets compressed in to 1 column showing the aggregated amount for the year as opposed to the split by month.

Any workarounds please.


BIDeveloper (BOB member since 2009-08-19)

How are you ‘removing’ the header? Do you just remove Month from the crosstab per se? Or do you go to the crosstab properties and uncheck the ‘Show Header’ property? If you do the latter, it shouldn’t compress to one column.


vinod_menon :india: (BOB member since 2007-04-09)

That very much works without compressing the Month. ThanYou very much.
But still the output isn’t as expected. It is as shown.

Year	Jan	Feb	Mar

Revenue 2008 10000 20000 250000
Revenue 2009 12000 220000 270000
Revenue 2010 5000 15000 20000
Quote 2008 11111 16666 31111
Quote 2009 12222 15666 19999
Quote 2010 13333 15555 20000

I dont want the Revenue to apprear 3 times, rather I want it to appear once,as if I apply BREAK and center it. For some reason when I click this column, the BREAK button is disabled. Any trick to acheive this.

So my desired output should be:
Year Jan Feb Mar
2008 10000 20000 250000
Revenue 2009 12000 220000 270000
2010 5000 15000 20000
2008 11111 16666 31111
Quote 2009 12222 15666 19999
2010 13333 15555 20000

Thanks for your help.


BIDeveloper (BOB member since 2009-08-19)

What release are you on? Attached efashion webi is from 3.1
efashion.wid (45.0 KB)


jemstar :ireland: (BOB member since 2006-03-30)

Thanks for your reply. I’m on XI 2.1.

I cannot open your document, but very curious to know what content it has.

But are you saying, in WEBI we can get a report as I have outlined.
A measure, split up with respect to Years , and have moths in the header row rather than having all measures each evaluated for one year , and then again all the measures evaluated for another year,so on. :hb:


BIDeveloper (BOB member since 2009-08-19)

Picture attached
Capture.JPG


jemstar :ireland: (BOB member since 2006-03-30)

Thanks Jemstar.

My requirement is somehwat different from the attached picture.

In my scenario, the State column is replaced by various measures, that makes it even complex and each measure I want it to be split up by year.

---------------------Jan Feb Mar Apr
Measure1 2007 100 400 500 600
Measure1 2008 200 300 400 700
Measure1 2009 300 200 300 800

Similarly, my rest of the measures will have to be arranged as above.
Looks I have to create seperate blocks for each measure and arrange them closely to get my output.
This is tedious approach and I dont know if there is any simpler way.

Thanks.


BIDeveloper (BOB member since 2009-08-19)

How do you identify each of your measure types? Do you have a dimension for this?


jemstar :ireland: (BOB member since 2006-03-30)

What did you mean by measure Types. Total of 15 measures I have in my report like - SUM(Tab1.PREM_AMT), SUM(Tab1.PL_CNT) etc.

Measures are by themselves, I want to analyse each measure by each year.

I dont think I have any dimension with in a measure.


BIDeveloper (BOB member since 2009-08-19)

Yeah, you can only crosstab dimensions, not measures (if you don’t know the difference between dimensions and measures, ask someone!!!)

Experiment with a horiziontal table instead (in templates) - you’ll be pleasantly surprised with the results…


jemstar :ireland: (BOB member since 2006-03-30)

Thanks for your replies all along.

FYI - I have been doing BO developement and Universe design for quite sometime now, so I’m 100% sure on the definitions of dimensions and measures,
when you said “Measure Types” in your post, I didn’t know what you were referring to, but looks like you meant how would I analyse my measures -Ofcourse by “DIMENSIONS”.

What I expected when I posted this topic is If I could get some advise on this particular report formatting.

Anyway, I’ve checked Horizontal Table as well, it doesn’t suffice my need.

Thanks again!!!


BIDeveloper (BOB member since 2009-08-19)

You can’t use measures in a crosstab the way you are trying to do it. The only place you can use a measure in a crosstab is in the body of the report.


tmarion :us: (BOB member since 2002-08-20)

Sure I got it.
Will try to construct seperate blocks for each measure, and combine them.

Thankyou!!


BIDeveloper (BOB member since 2009-08-19)