Spotfire 日期表达式错误

Spotfire date expression error

在 spotfire 中,我有一列 属性 fromDate 和 toDate,它们是一个日期。我正在尝试使用下面的表达式来限制数据的结果。但是我一直遇到这个错误

Invalid type for function call 'DocumentProperty' on line1, character 19

极限表达式

[poddate] >= Date(DocumentProperty(${DevInfoYTD}.{Location}.{fromDate})) and 
[poddate] <= Date(DocumentProperty(${DevInfoYTD}.{Location}.{toDate}))

如果我使用下面的表达式,我不会收到错误,但是 table.

上没有显示任何数据
[poddate] >= Date(${DevInfoYTD}.{Location}.{fromDate})
and [poddate] <= Date(${DevInfoYTD}.{Location}.{toDate})

有什么解决办法吗?

您不需要三部分标识符。我不确定那应该是什么,但您只需要列出 属性 控件。

[poddate] >= Date("${YourPropertyControlName}")
AND
and [poddate] <= Date("${YourOtherPropertyControlName}")