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
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 304 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 105 SQL DataFlows
- 645 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 773 Beast Mode
- 74 App Studio
- 43 Variables
- 726 Automate
- 185 Apps
- 466 APIs & Domo Developer
- 61 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 135 Manage
- 132 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive