CountIf not working across pages
Posted: Wed Jun 22, 2022 12:47 pm
Hi,
I need help with what was supposed to be something straightforward. I have 3 different pages with CrossDataBands and at the end of each one, I have a CrossFooterBand that counts the totals of certain information.
I'm using the following expressions:
Page1
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)}
Page2
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand2,InfoAlumnoIncidenciasBr.Ausencia == true)}
Page3
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand2,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand6,InfoAlumnoIncidenciasBr.Ausencia == true)}
On the first page, it works flawlessly but on the second e third pages the totals come up completely wrong.
Could you please help me?
I need help with what was supposed to be something straightforward. I have 3 different pages with CrossDataBands and at the end of each one, I have a CrossFooterBand that counts the totals of certain information.
I'm using the following expressions:
Page1
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)}
Page2
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand2,InfoAlumnoIncidenciasBr.Ausencia == true)}
Page3
{CountIf(CrossDataBand4,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand2,InfoAlumnoIncidenciasBr.Ausencia == true)+CountIf(CrossDataBand6,InfoAlumnoIncidenciasBr.Ausencia == true)}
On the first page, it works flawlessly but on the second e third pages the totals come up completely wrong.
Could you please help me?