function SumTime function always returns 00:00:00

Stimulsoft Reports.JS discussion
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

function SumTime function always returns 00:00:00

Post by mroshdy »

Hi

I designed report by report.JS report designer.
I used JSON data source
I have many timestamp columns in my data source
The problem is that the summation of timestamps does not work.
I used SumTime function to sum timestamps values
For example summation of delay column always gets 00:00:00
And summation of overtime column always gets 00:00:00

I attached the report as well as JSON data source file.
Attachments
reports.rar
(5.71 KiB) Downloaded 113 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: function SumTime function always returns 00:00:00

Post by Lech Kulikowski »

Hello,

We have added that task to our to-do list. We will try to add it in one of the next builds.

Thank you.
#1091
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

Re: function SumTime function always returns 00:00:00

Post by mroshdy »

Ok

Thank you.
How do I know if you add this feature in the future?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: function SumTime function always returns 00:00:00

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be available in the next release build inthe next week.

Thank you.
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

Re: function SumTime function always returns 00:00:00

Post by mroshdy »

This is a good news.

Thank you for your Interest.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: function SumTime function always returns 00:00:00

Post by Andrew »

You are welcome!
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

Re: function SumTime function always returns 00:00:00

Post by mroshdy »

I tried last release published at 21 October 2019 and the bug did not fixed.
Did you sure that it fixed?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: function SumTime function always returns 00:00:00

Post by Lech Kulikowski »

Hello,

Please check that your column have Timespan type in the dictionary.

Thank you.
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

Re: function SumTime function always returns 00:00:00

Post by mroshdy »

Hello,

My column already has Timespan type

I attached the report as well as JSON data source file (again).
and this is report global URL:
https://stimulsoft.com/s/76a88

please check delay column and overtime column.

Thank you.
Attachments
reports (2).rar
Report file and data source
(5.71 KiB) Downloaded 136 times
mroshdy
Posts: 10
Joined: Sun Oct 06, 2019 12:04 pm

Re: function SumTime function always returns 00:00:00

Post by mroshdy »

Hello,

Any news?
I am waiting for your reply.

Thank you.
Post Reply