transformations:massreplace
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
transformations:massreplace [2015/01/29 23:10] – created dmitry | transformations:massreplace [2021/07/19 02:17] (current) – [Examples] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Table-wide replace | + | {{ transformations: |
+ | ====== TABLE-WIDE REPLACE ====== | ||
+ | Category: Transform / Advanced\\ | ||
- | This transformation | + | \\ |
+ | =====Description===== | ||
+ | This action | ||
+ | |||
+ | \\ | ||
+ | =====Use cases===== | ||
+ | This action is typically used for data cleansing, e.g. for removing the word ' | ||
+ | |||
+ | Cleaning up the "(not set)" values that Google Analytics uses to represent blank cells.\\ | ||
+ | |||
+ | \\ | ||
+ | =====Action settings===== | ||
+ | ^Setting^Description^ | ||
+ | |Search for|Enter the value to search for.| | ||
+ | |where it' | ||
+ | |Replace with|Enter the value to replace the search value with.| | ||
+ | |which is|Select whether the replacement value will occupy the entire cell or just the matching portion of the found search value. | ||
+ | |Perform replacement in|Select whether to search all or specific columns. | ||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
+ | This action is case-sensitive. | ||
+ | |||
+ | Numeric values can only be searched for, and replaced as, entire cell values. | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | **Example: | ||
+ | |||
+ | **Source table:** The longest rivers in the world | ||
+ | |||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | NULL | 6400|South America | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Yenisei | ||
+ | | Yellow River | 5464|NULL| | ||
+ | | Ob |NULL |NULL | | ||
+ | | Paraná | ||
+ | |||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Search for: " | ||
+ | > where it's " | ||
+ | > Replace with (leave blank) | ||
+ | > which is " | ||
+ | > Perform replacement in "All columns" | ||
+ | |||
+ | \\ | ||
+ | **Result table:** | ||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | | 6400|South America | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Yenisei | ||
+ | | Yellow River | 5464| | | ||
+ | | Ob | | | | ||
+ | | Paraná | ||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
- | It's typically used for data cleansing, e.g. for removing word ' |
transformations/massreplace.txt · Last modified: 2021/07/19 02:17 by craigt