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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Date range slicer

Hi, 

 

I would like to know if a slicer visual for a date range will automatically configure the measures and calculate the sums and averages for the selected period on all visuals on the dashboard. 

 

I have created a date table and used this as my value for the slicer - I am using the 'between' slicer. The date table used for the slicer has an active realtionships with other tables as many to one, single.  

 

My question is the date slicer works absolutely fine if I am selecting a specific date, bringing all averages and sums correctly, but when I use a period date range, e.g. 15/03/20 to 20/03/20, my measures are not averaging right but all the sums are bringing the correct figure on my dashboard. 

 

Is there anything I am missing?

 

Thank you    

 

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 

Can you show us your measure formula, with my test if you just using Average(), then the slicer will automatcially filter the visual to get the average value (100). Or did I miss something. 

 

V-pazhen-msft_0-1617863462976.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Anonymous 

Can you show us your measure formula, with my test if you just using Average(), then the slicer will automatcially filter the visual to get the average value (100). Or did I miss something. 

 

V-pazhen-msft_0-1617863462976.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

AllisonKennedy
Super User
Super User

@Anonymous  Make sure you have your date table "Mark as Date Table" just as a side note. 

 

It should filter averages - see if this post describes the same problem you're having: https://excelwithallison.blogspot.com/2020/09/what-does-average-mean.html 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors