Hide empty crosstab in birt report

Hello,

I want to hide crosstab when its empty (depending on data source) in birt report, but i don’t know how.
I know how to do this with table:
Visibility → Hide Element-> Expression: “rows= Total.Count(); rows== 0”; and in label “rows>0”, but it doesn’t work with crosstab.
Does anyone know the solution ?

Cheers

Hi @k0sa -

Do you have an example workflow where you can share what you’ve come up with so far?

I don’t know how familiar you are with BIRT scripting - I am not an expert myself by any means - but apparently there are some crosstab specific functions that may be useful for you. For example:

Is that helpful at all?

Some other related examples here:

1 Like