Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services 按日期时间筛选图表_Reporting Services_Ssrs 2008 - Fatal编程技术网

Reporting services 按日期时间筛选图表

Reporting services 按日期时间筛选图表,reporting-services,ssrs-2008,Reporting Services,Ssrs 2008,我是第一次使用SRS,但Datetime格式有问题 在我的数据库中,我有一个字段作为Datetime(dd/mm/yyyy hh:mm:ss) 当我在报告中表示此字段时,其格式会发生变化(2013-12-30T15:14:27.00+01:00) 我想筛选一个图表,将此值筛选为参数。问题是我不知道该如何解析格式 提前感谢在你的领域尝试这个表达方式 =Format(Now(),"dd/MM/yyyy hh:mm:ss") 将您的字段设置为“Now()”,并选中我正在使用的=格式(字段!我的名称\

我是第一次使用SRS,但Datetime格式有问题

在我的数据库中,我有一个字段作为Datetime(dd/mm/yyyy hh:mm:ss)

当我在报告中表示此字段时,其格式会发生变化(2013-12-30T15:14:27.00+01:00)

我想筛选一个图表,将此值筛选为参数。问题是我不知道该如何解析格式


提前感谢

在你的领域尝试这个表达方式

=Format(Now(),"dd/MM/yyyy hh:mm:ss")

将您的字段设置为“Now()”,并选中我正在使用的
=格式(字段!我的名称\u字段值,“dd/MM/yyyy hh:MM:ss”)
,但不起作用。它打印字符串
“dd/MM/yyyyy hh:MM:ss”
确定,然后更新为
=CStr(格式(现在(),“dd/MM/yyyy hh:MM:ss”)
和check.with
=CStr(格式(字段!我的名字\u字段值,“dd/MM/yyyyy hh:MM:ss”)
显示相同的检查
字段!“我的姓名”字段。值为日期时间格式。格式值为:
2013-12-30T15:16:24.00+01:00