Showing results for 
Search instead for 
Did you mean: 
New Member

Need help creating a conditional column to display average for a range of values


I need the column to display the averages similiar to this. Averages are being displayed for values in incremements of 5's. Any ideas on how to do this. 


Thank you


Super User IV
Super User IV

@sammy3 , Create a new column in table like


new column = Quotient([Value]-1,5)


then you can have a new column

Avg = avergageX(filter(Table, [New column] =earlier([New Column])),[Year])


or a new measure

Avg = avergageX(filter(allselected(Table), [New column] =max([New Column])),[Year])

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

This was very useful, thank you very much. One more question, how would i be able to calculate the standard deviation for the years that have the same averages? 


Thank you

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors