How to map 1 value into the same row of another column in ETL
Please see attachment. I need to map a value from one column to another.
Context: Marketing's Department ID needs to be the same as its Organization ID. I've tried Value Mapper but it seems like that will only allow me to make a brand new column. I don't want a brand new column.
Please help! Which ETL function should I use?
Best Answer
-
Is the Marketing Department the only department that is missing an Organization ID?
if all the other rows apart from marketing have a value in them, you could just use a replace text to replace any null or blank values with 4410.
otherwise you would need to filter just the marketing values first and then perform the replace text on the organization I’d field.
1
Answers
-
Is the Marketing Department the only department that is missing an Organization ID?
if all the other rows apart from marketing have a value in them, you could just use a replace text to replace any null or blank values with 4410.
otherwise you would need to filter just the marketing values first and then perform the replace text on the organization I’d field.
1 -
Thank you! I ended up doing separate filters for each department that was missing an Organization ID and then using Value Mapper to populate the blank fields. I then appended the rows back together.
I did not use Replace Text because it does not work on numbers.
Thanks!!
0 -
I would encourage you to change the field type of any ID field to a string. Only use values for fields that you want to do calculations on
1 -
That was such a good trick to filter the rows and re-append! I just had a similar issue and that solved it. Thanks!
1
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 778 Automate
- 190 Apps
- 482 APIs & Domo Developer
- 83 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 411 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 11 Software Integrations
- 145 Manage
- 141 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive