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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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