#1 2022-06-21 14:47:09

lreyes
Member
Registered: 2022-06-06

Issue with DateTime parameters in Dynamic List

I have a dynamic list with 2 DateTime parameters.

I want to have the first one with the first day of the month at 00:00
The other one needs to be the actual time.

I have configured the parameters as follows:
${today.firstDay()} and ${today}

However when I open the report the dates of the parameters are correct but the times are the actual time in both.

It seems that when I change the time in an expression of a parameter it changes in both of them.

Is a solution for this behaviour?

Offline

#2 2022-06-21 18:05:30

Johann
Member
Registered: 2022-05-30

Re: Issue with DateTime parameters in Dynamic List

Have you tried using ${now}?

Offline

#3 2022-07-04 20:21:00

lreyes
Member
Registered: 2022-06-06

Re: Issue with DateTime parameters in Dynamic List

Still the same behavour

Offline

#4 2022-07-18 07:38:32

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with DateTime parameters in Dynamic List

Hi lreyes,

can you pls share some screenshots showing the behavior ? You can use http://imgbb.com for this.

Regards,
Eduardo

Offline

#5 2022-07-19 17:49:39

lreyes
Member
Registered: 2022-06-06

Re: Issue with DateTime parameters in Dynamic List

test

In this example I have 2 different datetime parameters. Note that when I set the date time in the first one the time changes in the second one.
The same behaviour ocurrs if I set the formula as default in the report parameter properties

Offline

#6 2022-07-20 08:42:56

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue with DateTime parameters in Dynamic List

Hi lreyes,

can you pls also post a screenshot of the parameter configuration/definition of both parameters?

Which reportserver version are you using exactly?

Regards,
Eduardo

Offline

#7 2022-07-20 17:38:27

lreyes
Member
Registered: 2022-06-06

Re: Issue with DateTime parameters in Dynamic List

This is the configuration:
test

Right now im using RS4.0.0-6055 but I experienced the same behaviour with the RS 4.2.0.6066-0

Offline

Board footer

Powered by FluxBB