Forum Discussion
Multiplication with measure
- Anonymous8 years ago
Anonymous,
In your table, you have different SpeedM/S for different Stationary Objects. You would need to create a measure to calculate a average speed value, then calculate distance between objects.
TimeDifference = MAX(Table1[time])-MIN(Table1[time])
AverageSpeed = AVERAGE(Table1[SpeedM/S])
OutputMeasure = [TimeDifference]*[AverageSpeed]
Regards,
Lydia
I followed the exact steps and the measure that turns time into seconds as a number works perfectly, the problem I have now is that the "outputmeasure" in Anonymous gives the following error when I try to display it in a visual:
"Calculation error in measure [outputmeasure]: A table of multiple values was supplied where a single value was expected"
the measure itself works but I can't get it to display something ..
Regards, L.Meijdam (excuses for the late response)
Anonymous,
Do you create the table visual as shown in my screenshot? If not, please post the visual you create.
Regards,
Lydia