Math on values from 2 device but on dashboard

I have multiple attributes coming from a device and would like to do a simple ratio of 2 of the attributes, but in the dashboard. I have been able to do some data transformation for a single value but not sure how to set this up for 2 attributes on a single block on dashboard.

@Andreia_Smith-Moritz some questions that will help me assist …

  • What sort of dashboard block(s) are you trying to do this on?
  • What is the calculation you are trying to run? Is it a simple ratio (a/b)?
  • Have you explored doing the ratio calculation in a workflow and saving the value as a new attribute on your device?

Thanks for the response. No I haven’t tried to do a workflow and save it as a new value.I will try that