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.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.2K Connectors
- 284 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.9K Transform
- 88 SQL DataFlows
- 555 Datasets
- 2.2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 568 Beast Mode
- 9 App Studio
- 27 Variables
- 577 Automate
- 140 Apps
- 414 APIs & Domo Developer
- 22 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 350 Distribute
- 90 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 91 Manage
- 88 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 85 Community Announcements
- 4.8K Archive