Beast Mode Combining Columns
I need help figuring out if I am doing this beast mode correctly… We have an ETL that is not calcualting the sum correctly, so I am trying to use a beast mode instead..
I have 6 Columns I need the sum of divided by 6 more columns to equal the AVG
I have tried several differnt ways to complete this - each column has value 0-5for the raiting and the count is 0-1. So an example of the final avg I am trying to get would be the SUM of the first 6 columns (5+5+5+5+5+5) / SUM of the last 6 (1+1+1+1+1+1) SO (30/6) = 5 (The 5 is what I am trying to get to) . Is there an easy way to do this?
SUM(Employee_Benefit_Understanding_Rating__c
+ Communication_Clarity_Rating__c
) / SUM(Communication_ClarityCount
+ BCS_Respect_and_CourtesyCount
)
Answers
-
@Stucker Try removing the CONCAT functions in your formula since that will prevent your calculation from seeing your fields as a number. Also, do any of your 6 columns have null values? If so, you will need to wrap each field in an IFNULL(`fieldname`,0) since adding nulls across the same row will cause values for the entire row to return null
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