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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 305 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 107 SQL DataFlows
- 648 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 775 Beast Mode
- 75 App Studio
- 43 Variables
- 734 Automate
- 186 Apps
- 471 APIs & Domo Developer
- 63 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 403 Distribute
- 117 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 137 Manage
- 134 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 113 Community Announcements
- 4.8K Archive