I need to be able to change the Salesforce value field ex. USD $10000 to a decimal in ETL...
Best Answer
-
If I understand you correctly, you're needing to strip the non-numeric data from the field and the convert to a decimal.
You can easily do this via the following ETL steps:
First you'll want to add a 'Replace Text' option enter the following the Search term field:
[^0-9.]
And set the 'Use RegEx' check box for the Search as shown:
Once you've replaced all the text with the Empty String option, you then want to 'Set Column Type' and just choose Decimal if that's what you want.
Your resultant dataset at the end should then be workable with a numeric value.
Let me know if you have any other questions,
ValiantSpur
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0
Answers
-
If I understand you correctly, you're needing to strip the non-numeric data from the field and the convert to a decimal.
You can easily do this via the following ETL steps:
First you'll want to add a 'Replace Text' option enter the following the Search term field:
[^0-9.]
And set the 'Use RegEx' check box for the Search as shown:
Once you've replaced all the text with the Empty String option, you then want to 'Set Column Type' and just choose Decimal if that's what you want.
Your resultant dataset at the end should then be workable with a numeric value.
Let me know if you have any other questions,
ValiantSpur
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0 -
Worked perfectly thanks so much!!
0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 283 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 90 SQL DataFlows
- 565 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 592 Beast Mode
- 13 App Studio
- 28 Variables
- 588 Automate
- 143 Apps
- 417 APIs & Domo Developer
- 27 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 361 Distribute
- 99 Domo Everywhere
- 260 Scheduled Reports
- 2 Software Integrations
- 95 Manage
- 92 Governance & Security
- 15 Product Releases
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 90 Community Announcements
- 4.8K Archive