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

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Hi @GuitarMan2020 

     

    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!**
  • GrantSmith
    GrantSmith Coach
    Answer ✓

    @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.

     

    Screen Shot 2020-09-15 at 10.45.07 AM.png

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Hi @GuitarMan2020 

     

    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!**
  • 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

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    @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.

     

    Screen Shot 2020-09-15 at 10.45.07 AM.png

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
This discussion has been closed.