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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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] ) )