Beast Mode Calculation Help
I'm working with data that was imported from an Excel spreadhsheet. This is a spreadsheet that will be pulled, then updated every month in Domo. I need to run a calculation that I was able to figure out in Excel, but would like to replicate in Domo. I could make the argument that I could just do that calculation every month when I pull the data, but I'd much rather have it in Domo so it is automated.
Here is the Excel formula: =IF(D2="TWITTER",N2*0.5,IF(D2="FACEBOOK",N2*0.5,IF(D2="LINKEDIN",N2*3)))
The formula is basicaly saying if column 'D' is pupluated with the name of one of three social media platforms, then multiply the value in column 'N' by a specific value related to that platform. I've spent more time in Beast Mode than I care to admit trying to figure this out, and would apprechiate any help.
Best Answer
-
Is this what you're looking for?
(CASE
WHEN `Social` = 'Twitter' THEN `Value` * 0.5
WHEN `Social` = 'Facebook' THEN `Value` * 0.5
WHEN `Social` = 'LinkedIn' THEN `Value` * 3.0
END)In this case "Social" = your "Column D" and "Value" = your "Column N"
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**1
Answers
-
Is this what you're looking for?
(CASE
WHEN `Social` = 'Twitter' THEN `Value` * 0.5
WHEN `Social` = 'Facebook' THEN `Value` * 0.5
WHEN `Social` = 'LinkedIn' THEN `Value` * 3.0
END)In this case "Social" = your "Column D" and "Value" = your "Column N"
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**1 -
Thank you. I was so close. The THEN was where my mistake was.
2
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 620 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 742 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive