[英]Spotfire Limit Visualization using Iron Python Scripting
I have a data table which has a column ID mapped with another column PID. 我有一个数据表,该数据表具有与另一个列PID映射的列ID。 I have another datatable which contains detail data for respective ID's.I want to add a column PID to my second table according to its respective ID's using the first table.
我有另一个数据表,其中包含各个ID的详细数据。我想使用第一个表根据其第二个ID将列PID添加到第二个表中。 My main purpose is to implement a dropdown using the PID column and limit the data in the datatable visualization of the second table.
我的主要目的是使用PID列实现下拉菜单,并限制第二个表的数据表可视化中的数据。
@Saumya- This can be implemented without using iron python script. @ Saumya-这可以在不使用铁python脚本的情况下实现。
Spotfire lookup a value from a calculated column Spotfire从计算列中查找值
Now, create a drop down property control which is linked to your PID column so that it has unique values from that column. 现在,创建一个下拉属性控件,该控件链接到您的PID列,以便它具有该列中的唯一值。
After you have created this drop down in text area, go to data table properties. 在文本区域中创建此下拉菜单后,转到数据表属性。 In
Data > Limit data using expression
section add the below expression. 在“
Data > Limit data using expression
部分中,添加以下表达式。
"${propertyname}"=[PID]
“ $ {propertyname}” = [PID]
Based on the drop-down selection, your table gets filtered. 根据下拉选择,您的表将被过滤。
Hope this helps! 希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.