BusinessObjects Board

Fill empty cells in pivot table with 0

I have a data provider like this

branch year month value
HQ 2006 12 1000
HQ 2006 11 9000
HQ 2006 06 8000
HQ 2006 01 9000

I create a pivot table: year, month as columns, branch as row, value in body. It shows only values, where month and year matches.
How could the pivot table also show a zero where no combination exists ?

Any help is greatly appreciated,

Martin

PS: Using isEmpty(value) doesn’t seem to do the trick :?


mb_prof (BOB member since 2005-11-25)

Hi Martin,

this Reporter’s FAQ should answer your question :wink:

And I think there are some other solutions that can be found in BOB’s search


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Also look at this link


sujit_patange (BOB member since 2005-07-19)

I was hoping to find another solution as for creating a second DP :wink:


mb_prof (BOB member since 2005-11-25)

I take it you mean crosstab. Pivot Table is MS Excel terminology.

One way of doing it is to create the crosstab, and overwrite the formula in the body with just 0. Then you can apply an alerter that says if Measure > 0 then display the variable Measure. And if Measure < 0 Then display the variable Measure. Refer attached example.
eg.rep (40.0 KB)


jac :australia: (BOB member since 2005-05-10)