How to set up a min/max equation in a Beast Mode?
ChrisGaffan
Member
in 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
 All Categories
 1.2K Product Ideas
 1.2K Ideas Exchange
 1.4K Connect
 1.1K Connectors
 273 Workbench
 2 Cloud Amplifier
 3 Federated
 2.7K Transform
 78 SQL DataFlows
 526 Datasets
 2.1K Magic ETL
 2.9K Visualize
 2.2K Charting
 440 Beast Mode
 23 Variables
 514 Automate
 115 Apps
 391 APIs & Domo Developer
 8 Workflows
 26 Predict
 10 Jupyter Workspaces
 16 R & Python Tiles
 332 Distribute
 77 Domo Everywhere
 255 Scheduled Reports
 67 Manage
 67 Governance & Security
 1 Product Release Questions
 Community Forums
 40 Getting Started
 26 Community Member Introductions
 68 Community Announcements
 4.8K Archive