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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello everyone,
I am trying to divide speed with Max speed. I created a measure to calculate speed which works fine. But when I try to divide this measure by its max value, it does not accept the code and says-
"Column 'Speed1' in table 'Table2' cannot be found or may not be used in this expression."
So instead of a measure, I tried to calculate speed in a calculated column. But it is giving the wrong value.
Speed 1 is measure n speed 1 col ios calculated column.
So I wanted to do the following-
Speed1 = divide volume by time
Final speed = (Speed1/max speed1)*100
Here is the data-
These two tables are linked with each other on ID
I used the following code -
Thanks in Advance! Looking forward to it!
Solved! Go to Solution.
Hi @Anonymous ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can create a measure as below to get the Speed2 base on the measure [Speed1] :
Speed2 =
VAR _tab =
SUMMARIZE ( ALLSELECTED ( 'Table1' ), 'Table1'[ID], "@speed", [Speed1] )
VAR _maxspeed =
MAXX ( _tab, [@speed] )
RETURN
DIVIDE ( [Speed1], _maxspeed ) * 100
Best Regards
Hi @Anonymous ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. You can create a measure as below to get the Speed2 base on the measure [Speed1] :
Speed2 =
VAR _tab =
SUMMARIZE ( ALLSELECTED ( 'Table1' ), 'Table1'[ID], "@speed", [Speed1] )
VAR _maxspeed =
MAXX ( _tab, [@speed] )
RETURN
DIVIDE ( [Speed1], _maxspeed ) * 100
Best Regards
Hi @Anonymous ,
You can use this code:
Percentage vs Max Speed =
VAR MaxSpeed =
CALCULATE(
MAXX(Table_Speed, Table_Speed[Speed]),
ALL(Table_Speed)
)
RETURN
DIVIDE(
Table_Speed[Speed],
MaxSpeed
)
Hope it helps.
Regards,
Fernando
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.