[英]SPOTFIRE: Clean dat in the default Data Table
I am looking to clean data in one particular colum on my default data Table. 我想清除默认数据表中一个特定列中的数据。
The column looks like this: 该列如下所示:
x
-----------
FR / NYC-PAR
FR - NYC-PAR
I want to change all the values of FR - NYC-PAR
as FR / NYC-PAR
without adding a new calculated column. 我想将
FR - NYC-PAR
所有值更改为FR / NYC-PAR
而无需添加新的计算列。 Would this be possible by writing an expression? 通过编写表达式可以做到吗? I also dont want to replace the data table.
我也不想替换数据表。 Thanks in advance for your suggestions.
预先感谢您的建议。
This will work for you: 这将为您工作:
Tools > Insert Transformations > Calculate and replace column
Then use this expression, where c1 is the name of the column: 然后使用此表达式,其中c1是列的名称:
RXReplace([C1],"[/]","-","") as [C1]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.