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
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive