Does Domo support Mode function?

It looks like Domo supports 'Median' function but I tried to use 'Mode' to find the mode of a value in my dataset and it kicked back this error: Calculation Error : This calculation is using a nonexistent function.

Best Answers

  • MarkSnodgrass
    Answer ✓

    No, there is no Mode function. You could potentially calculate it with a group by to count the number of values and then use rank & window to rank them by count and then filter to where rank equals 1.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Agree with @MarkSnodgrass. To clarify you'd need to do this within a Magic ETL dataflow as a beast mode on a card won't support the multiple aggregations that would be needed.

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

Answers

  • MarkSnodgrass
    Answer ✓

    No, there is no Mode function. You could potentially calculate it with a group by to count the number of values and then use rank & window to rank them by count and then filter to where rank equals 1.

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Agree with @MarkSnodgrass. To clarify you'd need to do this within a Magic ETL dataflow as a beast mode on a card won't support the multiple aggregations that would be needed.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • That makes sense, thanks - appreciate the insights. @MarkSnodgrass @GrantSmith