Dynamic grouping in report

Asked

Viewed 435 times

1

I currently have several reports in my system, and the same report can have several groupings, that is, it is exactly the same, but I have a grouping by another field type and most of the time this other field is of a different date type.

The example I have is a report of financial movements, in this report I have the options of race list and grouping favored for which is string, now need to let do by date type of drive.

It is possible in the same report dynamically I change the field to be grouped?

1 answer

0

I don’t know if this is it but I use "formulas" for this, for example :

The report has a parameter ptipodedata and a formula f_data

in defining the formula

if ptipodedata = 'emissao' then
  campo_do_banco.data_emissao
else
  campo_do_banco.data_vencimento

the inclusion of the Group uses the formula

Browser other questions tagged

You are not signed in. Login or sign up in order to post.