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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
The averaging is working as expected until I remove a date from the middle of the selected slicer range. How do I overcome this? The goal would be to be able to not count certain days where the attendance was inflated due to extraordinary situation (like 4/17 which was 826).
Here's a screen shot of the data and the measure (that works without gaps).
Steve
Solved! Go to Solution.
@newhopepdx , I think you need measures like
Total Attendance =
CALCULATE(
SUM( 'Attendance'[Attendance] ),
allselected('Attendance' )
)
Avg By Day =
AverageX(Values('Date'[Date]), CALCULATE(
SUM( 'Attendance'[Attendance] ),
allselected('Attendance' )
) )
@newhopepdx , I think you need measures like
Total Attendance =
CALCULATE(
SUM( 'Attendance'[Attendance] ),
allselected('Attendance' )
)
Avg By Day =
AverageX(Values('Date'[Date]), CALCULATE(
SUM( 'Attendance'[Attendance] ),
allselected('Attendance' )
) )
That worked! Both measures yielded the correct answer.
Thanks!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!