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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Sum Average of five years given month and day

Hello Everyone!

 

I'm working on trying to take a dataset that needs to show the five year average of one value but only between June 10th and July 31st. 

 

I would like to have a slicer filter that allows the user to select the month and day instead of the month, day, and year between two values. The end result is to show the average sum breakdown of 2013 - 2017 compared to the 2019 sum. Help_fire_mitigation.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I solvedmy issue by creating a new column "ddmm" and filtered out the first 9 days of July out of the data set. Fire Mitigation picture_solced.PNG 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

What you can do is parse your date column to split up the day, month, and year. Then you can make a slicer just for months and set a visual level filter for the years. 

Anonymous
Not applicable

I solvedmy issue by creating a new column "ddmm" and filtered out the first 9 days of July out of the data set. Fire Mitigation picture_solced.PNG 

Anonymous
Not applicable

This is the closest example I have to what I want it to look like, but the day range becomes misconstrued due to the fact that it won't include July 1 - 9 in this example. I need to see the data from June 10th - July 31st. Is there a way to merge the month slicer with the day range slicer and keep the year slicer separate? all my dates are separated into month, day, and year.  

 

 

Fire Mitigation picture.PNG

amitchandak
Super User
Super User

This one should help you in creating a slicer. Also, you should able to create more formula's to get the Avg between certain ranges 

https://medium.com/chandakamit/power-bi-comparing-data-across-date-ranges-36be49b68613

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.