Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I need to get an average by Model - regardless of any selection in the "EquipmentNum" field. How would I change this measure (which currently works) to give me this average. I know I would need to add the ALL function somewhere along with with the "EquipmentNum" but not sure where this would go or if my current measure would have to change significantly.
AVERAGEX(VALUES(f_GW[Model]),CALCULATE(AVERAGE(f_GW[UsageAmount])))
Z
Solved! Go to Solution.
@Anonymous,
You may try the DAX below.
Measure =
AVERAGEX (
VALUES ( f_GW[Model] ),
CALCULATE ( AVERAGE ( f_GW[UsageAmount] ), ALL ( f_GW[EquipmentNum] ) )
)
Measure 2 =
CALCULATE (
AVERAGEX ( VALUES ( f_GW[Model] ), CALCULATE ( AVERAGE ( f_GW[UsageAmount] ) ) ),
ALL ( f_GW[EquipmentNum] )
)
@Anonymous,
You may try the DAX below.
Measure =
AVERAGEX (
VALUES ( f_GW[Model] ),
CALCULATE ( AVERAGE ( f_GW[UsageAmount] ), ALL ( f_GW[EquipmentNum] ) )
)
Measure 2 =
CALCULATE (
AVERAGEX ( VALUES ( f_GW[Model] ), CALCULATE ( AVERAGE ( f_GW[UsageAmount] ) ) ),
ALL ( f_GW[EquipmentNum] )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.