I have a card that displays Total Tasks and Performance per Task (Minutes).
When I use Beast Mode to modify the Summary Number, the I receive an error "unable to load at this time".
My Performance per Task (Minutes) Beast Mode due to TotalTaskTime is decimal.
SUM(`TotalTaskTime`*60)
My Minutes per Task Beast Mode which displays valid formula.
CONCAT(SUM(SUM(`TotalTaskTime`*60)/`TotalTasks`))
An example is Total Tasks 4 and Performance per Task (Minutes) 44 thus the Minutes per Task would be 11 and that is what I would want the Summary Number to display.
Other factors are this card is a table with subtotals by user. I have attached a screen print for review.
Thanks in advance for your assistance!
Michael
Best Answers
-
Domo doesn't like your SUM(SUM()) without a windowing function which is why it's throwing an error.
If you're looking just for minutes per task for the overall dataset you could do:
SUM(`TotalTaskTime`*60)/SUM(`TotalTasks`)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
@GuitarMan2020 - You're close. ROUND is a function so it'd look like this (assuming 1 digit after the decimal)
ROUND(SUM(`TotalTaskTime`*60)/SUM(`TotalTasks`), 1)
A better way though would be to utilize the formatting options (blue link at the bottom of the summary number window to expand) under the Summary Number and set the decimals to 1 there instead and make sure it's displaying as a number.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
Domo doesn't like your SUM(SUM()) without a windowing function which is why it's throwing an error.
If you're looking just for minutes per task for the overall dataset you could do:
SUM(`TotalTaskTime`*60)/SUM(`TotalTasks`)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Excellent guidance! One last question is how would I round the Summary Number? It is currently displaying about 16 places from the decimal point. Would it be this -
CONCAT(Round, SUM(`TotalTaskTime`*60)/SUM(`TotalTasks`), 1)
Thank you again for the solution!
Michael
0 -
@GuitarMan2020 - You're close. ROUND is a function so it'd look like this (assuming 1 digit after the decimal)
ROUND(SUM(`TotalTaskTime`*60)/SUM(`TotalTasks`), 1)
A better way though would be to utilize the formatting options (blue link at the bottom of the summary number window to expand) under the Summary Number and set the decimals to 1 there instead and make sure it's displaying as a number.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Categories
- 10.5K All Categories
- 4 Connect
- 914 Connectors
- 250 Workbench
- 458 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 183 Visualize
- 249 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 170 Product Ideas
- 1.2K Ideas Exchange
- 10 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive