Spotfire日期表达式错误

Spotfire日期表达式错误,spotfire,Spotfire,在spotfire中,我有一个列属性fromDate和toDate,这是一个日期。我试图使用下面的表达式限制数据的结果。但我不断地遇到这个错误 Invalid type for function call 'DocumentProperty' on line1, character 19 极限表达式 [poddate] >= Date(DocumentProperty(${DevInfoYTD}.{Location}.{fromDate})) and [poddate] <= D

在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}))
[poddate]>=Date(DocumentProperty(${devinfo}.{Location}.{fromDate}))和

[poddate]您不需要由三部分组成的标识符。我甚至不确定这应该是什么,但您只需要列出属性控件

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

[poddate]谢谢你的回答,我尝试了你在spotfire 7上的建议,当我按下ok时,它说fromDate未定义。此外,如果我双击属性或单击“插入属性”,它会给出由三部分组成的标识符。我从未见过由三部分组成的标识符。但是,在整个事件周围加上双引号。试试看,让我知道@dimasAlso,使用DocumentProperty()是隐含的,所以它不需要,但不会造成伤害。yup还尝试用双引号将它括起来,并尝试了这个日期(DocumentProperty(${DevInfoYTD}.{Location}.{fromDate})),但它不起作用。它将产生一个错误“属性'11/01/2016'不存在移动DocumentProperty()第二部分:迪马斯
[poddate] >= Date("${YourPropertyControlName}")
AND
and [poddate] <= Date("${YourOtherPropertyControlName}")