[英]Updating Column value based on another column value in Spotfire
I wish to create a drop down menu in Spotfire using 5 values. 我希望使用5个值在Spotfire中创建一个下拉菜单。 Col1, Col2, Col3, Col4, Col5
Col1,Col2,Col3,Col4,Col5
where Col1,Col2,Col3,Col4 and Col5 are column headers in my data sheet. 其中Col1,Col2,Col3,Col4和Col5是我的数据表中的列标题。
I am creating a Pie Diagram visualization. 我正在创建一个饼图可视化。
Now, based on my selection Col1,Col2,Col3,Col4 and Col5, I wish to select another column in the Color by: property for the pie. 现在,基于我的选择Col1,Col2,Col3,Col4和Col5,我希望在饼图的Color by:属性中选择另一列。
For example: If I select Col1 then I should get "Col1 Complete" value in Color by: property for the pie. 例如:如果我选择“ Col1”,那么我应该在“派子”的“颜色依据:”属性中获得“ Col1 Complete”值。 If I select Col2 then I should get "Col2 Complete" value in Color by: property which is another column in the data set.
如果选择Col2,则应该在Color by:属性中获得“ Col2 Complete”值,该属性是数据集中的另一列。
I was able to create a drop down list using Property Control with the Col1-Col5 values in the list. 我可以使用Property Control创建一个下拉列表,并在列表中使用Col1-Col5值。 However, I am unable to handle second part where based on my selection of Col, I need the Color by: property value to change to "Col Complete"
但是,我无法处理第二部分,根据我对Col的选择,我需要将Color by:属性值更改为“ Col Complete”
Please advice. 请指教。 Thanks
谢谢
you can do this with a Document Property: 您可以使用文档属性来执行此操作:
Col1
. Col1
。 [${PieColorBy} Complete]
. [${PieColorBy} Complete]
。 notice that Complete
is not in quotes. Complete
不在引号中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.