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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 600 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 685 Beast Mode
- 43 App Studio
- 38 Variables
- 655 Automate
- 170 Apps
- 438 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 383 Distribute
- 110 Domo Everywhere
- 267 Scheduled Reports
- 6 Software Integrations
- 111 Manage
- 108 Governance & Security
- 8 Domo University
- 25 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive