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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables. They are related to each other on ID.
I want to calculate -
Final Speed which is = Speed Measure/max (Speed Measure)
But I am unable to do so. It is not recognising it as a measure. How should I do this? Is there any different way? Pls, let me know. Thanks in Advance!
These I calculated-
Measure in Table 2 →Speed Measure = sum('Table2'[Quantity])/Sum('Table1’'[Time])
Calculated Column in Table 1→ Time = (DATEDIFF('Table1’[Start Time], 'Table2’'[End Time],SECOND))
Solved! Go to Solution.
Hi @Anonymous ,
How about this:
ID 11 has the maximum speed, which is why the measure shows 1.
This is the measure I used:
Speed 1 mes =
VAR _helpTable =
SUMMARIZE (
ALLSELECTED ( Table2 ),
[ID],
"speed", [speed1]
)
VAR _maxSpeed = CALCULATE ( MAXX ( _helpTable , [speed] ) )
RETURN
DIVIDE ( Table2[Speed1], _maxSpeed )
Hope this is it!
/Tom
https://www.instagram.com/tackytechtom
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
@tackytechtomThanks for helping. It is giving 1 as an answer for all rows. It is not giving correct output.
I am not sure what the ID in your model does, so it might work if you remove the 'Table'[ID] in the SUMMARIZE function. Otherwise, you are welcome to share some data and show a possible outcome of what you would like to achieve 🙂
/Tom
https://www.instagram.com/tackytechtom
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
@tackytechtom Thanks for answering. I am sharing the details.
Hi @Anonymous ,
How about this:
ID 11 has the maximum speed, which is why the measure shows 1.
This is the measure I used:
Speed 1 mes =
VAR _helpTable =
SUMMARIZE (
ALLSELECTED ( Table2 ),
[ID],
"speed", [speed1]
)
VAR _maxSpeed = CALCULATE ( MAXX ( _helpTable , [speed] ) )
RETURN
DIVIDE ( Table2[Speed1], _maxSpeed )
Hope this is it!
/Tom
https://www.instagram.com/tackytechtom
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
@tackytechtom Thanks for the solution and your help. It worked. Thank you so much!
Hi @Anonymous ,
It seems like you are using the ID column from table1. Try using it from table2 instead.
/Tom
https://www.instagram.com/tackytechtom
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @Anonymous ,
I am not entirely sure whether this one here works for you, but it might be worth a try 🙂
Measure = VAR _helpTable = SUMMARIZE ( 'Table', 'Table'[ID], "speed", Table[Speed Measure] ) VAR _maxSpeed = MAXX ( _helpTable , [speed] ) RETURN DIVIDE ( CALCULATE(Table[Table[Speed Measure]] ), _maxSpeed )
/Tom
https://www.instagram.com/tackytechtom
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |