Beast Mode: Dependency Identification

Hi.
I am trying to do a dependency status table for the project lifecycle.
I currently have columns for Project name, associated Project Status, and Dependent Project (which other project is required for this one to complete).
I am trying to write a statement to insert another column that identifies the status of the dependant project - so it will refer to column 2 to find the status of the project with the same name as the dependent project. I have given an example table below; Project C has status Green so it's good to go ahead, BUT depends on Project B to complete which is in Amber so it cannot go ahead yet.
Project name | Project Status | Dependent Project | Dependent Project Status |
A | Red | C | Green |
B | Amber | A | Red |
C | Green | B | Amber |
Thanks!
Best Answer
-
Hi @user091749
You'd need to use a MagicETL 2.0 data flow to join the data to itself.
Take the input and put it to a Select Columns and select the Project Name and Status Columns and then join it back to your original data set based on original dataset dependent project = the select columns project name, resolve the conflicts by dropping the project name column in the right dataset and rename the project status column to be the Dependent Project Status.
Here's screenshots outlining the process
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3
Answers
-
Hi @user091749
You're essentially wanting to do a join to a table to lookup the project status. Beast modes can't do this as they're processing on a record by record basis. The easiest and best option in this case is to utilize an ETL to filter the names and status and then join it back to the table based on the dependent project to include the dependent project status.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Hi,
Thanks. How would I do that?
0 -
Hi @user091749
You'd need to use a MagicETL 2.0 data flow to join the data to itself.
Take the input and put it to a Select Columns and select the Project Name and Status Columns and then join it back to your original data set based on original dataset dependent project = the select columns project name, resolve the conflicts by dropping the project name column in the right dataset and rename the project status column to be the Dependent Project Status.
Here's screenshots outlining the process
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3
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
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 813 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 773 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 79 Workflows
- 23 Code Engine
- 38 AI and Machine Learning
- 19 AI Chat
- AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 143 Manage
- 139 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive