Page 1 of 2

sum from different band

Posted: Tue Aug 11, 2015 12:28 am
by nezarabd
i want to caculate like that from two bound

{CountIf(DataBand1,DataSource1.kind == "male" & DataSource1.End_natiga == "success")}
and
{CountIf(Datadoor2,door2.kind == "male" & door2.nati == "success")}

it's work ok

but when i want to sum them like

{CountIf(Datadoor2,door2.kind == "male" & door2.nati == "success") + CountIf(DataBand1,DataSource1.kind == "male" & DataSource1.End_natiga == "success")}

the part after + sign get coreect
put the part before + sign get me zero

i didn't know why

thanks for help me in advance

Re: sum from different band

Posted: Tue Aug 11, 2015 5:58 am
by HighAley
Hello.

You make calculations on different bands.
Where do you us the last expression? It seems that you use simple CountIf expression in the corresponding band, but the expression with Sum of CountIf can not be calculated in the component where you use it.
Could you send us a sample project with data to reproduce the issue?

Thank you.

Re: sum from different band

Posted: Tue Aug 11, 2015 7:19 am
by nezarabd
but when i use it alone it work
and when i sum
not work

Re: sum from different band

Posted: Tue Aug 11, 2015 7:33 am
by Alex K.
Hello,

Please send us a sample report with test data which reproduce the issue for analysis.

Thank you.

Re: sum from different band

Posted: Tue Aug 11, 2015 8:37 am
by nezarabd
is it matter who the databand before and after
when i try to change the order of databand
the sum calculate the databand whose before the another

Re: sum from different band

Posted: Tue Aug 11, 2015 8:42 am
by nezarabd
the report

Re: sum from different band

Posted: Tue Aug 11, 2015 8:43 am
by nezarabd
55555555555555555555.jpg
55555555555555555555.jpg (171.12 KiB) Viewed 3305 times

Re: sum from different band

Posted: Tue Aug 11, 2015 9:40 am
by Alex K.
Hello,

Can you please send us a test data for your report.

Thank you.

Re: sum from different band

Posted: Tue Aug 11, 2015 9:57 am
by nezarabd
i sent all data because it complex

Re: sum from different band

Posted: Wed Aug 12, 2015 6:05 am
by Alex K.
Hello,

Thank you for the sample. We need some additional time for check the issue.

Thank you.