简体   繁体   中英

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. 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:

RXReplace([C1],"[/]","-","") as [C1]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM