Dynamic grouping on report

1

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

The example that I have is a report of financial transactions, in this report I have the options of list race and favored grouping, which is string , now I need to leave it done by type of move date.

Is it possible in the same report to dynamically change the field to be grouped?

    
asked by anonymous 15.10.2015 / 22:16

1 answer

0

I do not know if this is but I use "formulas" for this, for example:

The report has a ptipodedata and a f_data formula

in the formula definition

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

In the inclusion of the Group use the formula

    
12.11.2015 / 03:03