Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
Solved! Go to Solution.
@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.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@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.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@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
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
User | Count |
---|---|
121 | |
69 | |
66 | |
56 | |
52 |
User | Count |
---|---|
181 | |
85 | |
67 | |
61 | |
53 |