avg in two subreport
avg in two subreport
hi
i do your advise but i face with error can you send me a sample
thanks
i do your advise but i face with error can you send me a sample
thanks
avg in two subreport
Hello,
Please see the attached report sample.
Thank you.
Please see the attached report sample.
Thank you.
- Attachments
-
- 529.Report sample.mrt
- (12.69 KiB) Downloaded 248 times
avg in two subreport
hi
thanks for your attention
my field in my main report is take avg from to variable but i want if on of them have 0 value avg not working and show another number this is my problem
now if any of them face with 0 avg in my main report use it in formula that i dont want it to do that
thanks
thanks for your attention
my field in my main report is take avg from to variable but i want if on of them have 0 value avg not working and show another number this is my problem
now if any of them face with 0 avg in my main report use it in formula that i dont want it to do that
thanks
avg in two subreport
Hello,
You can use following expression:
Thank you.
You can use following expression:
Code: Select all
avg={IIF((Avg1==0)||(Avg2==0),"No avg",(Avg1+Avg2)/2)}
avg in two subreport
hi
thank you but my problem not solved i write my code in programming language please you change it for me
thanks
if avg1=0 or avg2=0 then
if avg1=0 then
avg=avg2
else if avg2=0 then
avg=avg1
end if
else
avg=(avg1+avg2)/2
end if
thank you but my problem not solved i write my code in programming language please you change it for me
thanks
if avg1=0 or avg2=0 then
if avg1=0 then
avg=avg2
else if avg2=0 then
avg=avg1
end if
else
avg=(avg1+avg2)/2
end if
avg in two subreport
Hello,
Thank you.
Code: Select all
avg = {IIF((Avg1==0)||(Avg2==0),(IIF(Avg1==0,Avg2,(IIF(Avg2==0,Avg1,0)))),(Avg1+Avg2)/2)}
avg in two subreport
hi
its so beautiful code
thank you
its so beautiful code
thank you
avg in two subreport
We are always glad to help you!