Median function problem

Stimulsoft Reports.WEB discussion
JockeD
Posts: 77
Joined: Fri Apr 17, 2009 1:47 pm
Location: Sweden

Median function problem

Post by JockeD »

Hello

I have a problem using the Median function.
When I try to use it I get the error: error BC30456: 'MedianD' is not a member of 'Stimulsoft.Report.Totals'.
Version 2010.2.703.0

In a variable I just state:
MedianD(DataSource, DataSource.FieldName)
Average is working as expected.

I'm sorry if I'm missing something obvious here.

Regards Joakim



Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Median function problem

Post by Alex K. »

Hello,

Yes, is correct, you need to use
MedianD(DataSource, DataSource.FieldName).

Thank you.
JockeD
Posts: 77
Joined: Fri Apr 17, 2009 1:47 pm
Location: Sweden

Median function problem

Post by JockeD »

Thank you for your reply.
When I try that I get an error BC30456: 'MedianD' is not a member of 'Stimulsoft.Report.Totals'.

Regards Joakim
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Median function problem

Post by Alex K. »

Hello,

Please send us your .MRT file for analysis.

Thank you.
JockeD
Posts: 77
Joined: Fri Apr 17, 2009 1:47 pm
Location: Sweden

Median function problem

Post by JockeD »

Hello,

I attach an example based on the demo Sales Invoice

Regards Joakim
Attachments
567.Median Problem.mrt
(102.55 KiB) Downloaded 359 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Median function problem

Post by Alex K. »

Hello,

Thank you for the bug report.
We need some time to fix it.

Thank you.

JockeD
Posts: 77
Joined: Fri Apr 17, 2009 1:47 pm
Location: Sweden

Median function problem

Post by JockeD »

Thank you,

I belive it's the same problem with the Mode function.

/Joakim
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Median function problem

Post by Alex K. »

Hello,

Yes, with Mode function is the same problem.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Median function problem

Post by Alex K. »

Hello,

The issue is fixed.
Please check the latest build when it will be available.

Thank you.
JockeD
Posts: 77
Joined: Fri Apr 17, 2009 1:47 pm
Location: Sweden

Median function problem

Post by JockeD »

Thank you,

Regards Joakim
Post Reply