Showing results for 
Search instead for 
Did you mean: 
rdcooper Frequent Visitor
Frequent Visitor

Re: How to calculate average only for certain values?



@Jeltex you got me VERY close, the solution ended up being what you gave me, minus the "All" in the filter:


= DIVIDE(SUM('Table'[Column D]),CALCULATE(COUNT('Table'[Column D]),FILTER(Table,'Table'[Column D]>0)))


I think the "All" was negating the filter somehow. 


Anyway, big thanks to you and @HarrisonCbe! Problem Solved!

View solution in original post

Helpful resources

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 258 members 2,425 guests
Please welcome our newest community members: