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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.