Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all,
I want to do a multiplication which looks like this:
TimeDifference * SpeedM/S
//
TimeDifference =Max(Table1[TIME]) - MIN(Table1[TIME]) // TIME = a Calculated column
SpeedM/S = Divide(Table1[SpeedKM/H];3,6)
Thanks in advance !
L.Meijdam
Solved! Go to Solution.
@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
@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
Hi @Anonymous,
Thank you very much for your time it finally works like expected ! 🙂
Have a very good day !
@Anonymous
What is the format of time you're using?
00:10:00 - means 10 min or sec?
@Anonymous
try to use calculated column for time:
time1 = MINUTE('time and speed'[time])*60 + SECOND('time and speed'[time])
than use it in measure.
This is how I turned minutes from your "time" into seconds as number.
Hi @Anonymous,
Try to use Value(timedif)*value(speed). In case it does not work vecouse of formats, please draw your table with few test data.
User | Count |
---|---|
97 | |
78 | |
77 | |
48 | |
26 |