Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
NewbieJono
Post Partisan
Post Partisan

Average Line, ignore some filters

Hello, i want to add an average line that always shows the overall average of the whole company within the filtered timeline.

 

However i have another filter on the page that allows to select departments. i can get the average to work for this. and i wish to keep this but i want to compare to an average of the whole company.

 

what dax do i need to show average for all depatments, i need to ignore all filters apart from the date

 

here is the chart, which dynamically changes when department changes

 

Capture.PNG

4 REPLIES 4
NewbieJono
Post Partisan
Post Partisan

my total staff is a measure (count of a staff ID), how can I include this in the table value, instead of AVERAGE(Table[Value])

Anonymous
Not applicable

In my opinion it is best practice to create a new measure for that kind of thing.

 

Overall Average =
VAR TotalStaffCount = [Total Staff]
RETURN CALCULATE(TotalStaffCount, ALL(Table[Department]))

 

If this helped please mark as solved!

 

Thanks 

-DD

does this calc the average? also will it ignore the filters on the page relating to department

Anonymous
Not applicable

Hey Jono,

 

I think you would need to create a new measure for all departments, somthing like:

 

Overall Average = CALCULATE(AVERAGE(Table[Value]), ALL(Table[Department]))

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors