How to set up a min/max equation in a Beast Mode?
I would like to setup a beast mode to calculate a fill % for contracted values, however I would not like it to show any values that went above 100%. I know in Excel it would be as easy as
=MIN(100,SUM())
How would I accomplish the same thing within Domo?
The two columns being run against each other are as seen below.
Total weight in lb's
/ Contract Weights
Tagged:
0
Best Answer

Hi @user058901 does this give you what you need?
case when
total weight in lb's
/Contract Weights
> 1 then 1 elsetotal weight in lb's
/Contract Weights
end0
Answers

Hi @user058901 does this give you what you need?
case when
total weight in lb's
/Contract Weights
> 1 then 1 elsetotal weight in lb's
/Contract Weights
end0 
@MichelleH Yes, I just needed to add SUM before the equation and it worked perfectly. CASE
 CASE
 WHEN SUM(
Total weight in lb's
/Contract Weight
) > 1 then 1  ELSE SUM(
Total weight in lb's
/Contract Weight
)  END
Thank You.
0
Categories
 10.5K All Categories
 8 Connect
 918 Connectors
 250 Workbench
 472 Transform
 1.7K Magic ETL
 69 SQL DataFlows
 477 Datasets
 202 Visualize
 255 Beast Mode
 2.1K Charting
 12 Variables
 17 Automate
 354 APIs & Domo Developer
 89 Apps
 3 Workflows
 20 Predict
 5 Jupyter Workspaces
 15 R & Python Tiles
 247 Distribute
 63 Domo Everywhere
 243 Scheduled Reports
 21 Manage
 42 Governance & Security
 179 Product Ideas
 1.2K Ideas Exchange
 12 Community Forums
 27 Getting Started
 14 Community Member Introductions
 55 Community News
 4.5K Archive