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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Problem Calculating Total Average

Very good to all,

I have a problem when calculating a total average based on two averages already calculated with filters since these have negative values and in the filters I eliminate the negative values when adding both averages already calculated to get a total average the filters I make in this are not correct and therefore the total average gives me incorrect, as it could proceed so that the total average is calculated correctly without counting the negatives of both averages already calculated.

Thank you very much in advance.

2 REPLIES 2
amitchandak
Super User
Super User

@Syndicate_Admin , this might be because of row context used

you can avg have using the column in visual

averages(values(Table[column]), [measure] )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Is there a way for me to be able to use IF with an average so that I only take into account the largest numbers or giuales to 0 of a column?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.