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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

wrong data

hiii

i have a slicer with week nos in it and my charts will change as per the slicer selection

now we are in week 39 it should show the data till week 39

but unfortunately the slicer is showing till 53 weeks after 39 also it is showing the data which is wrong.

can some help to rectify it.

https://drive.google.com/file/d/1ySauhYpsWJ7BfmbOxOzqTJ727v7y6bQp/view?usp=sharing

1 ACCEPTED SOLUTION
AllisonKennedy
Community Champion
Community Champion

Hi @Anonymous 

 

This is because you have data back to 2017. I have added a slicer for year to your page, and it now only shows week num to 39 and that should fix your numbers too. See attached file please below signature.

 

I do recommend trying a more robust Date table than the one you have created using DAX, but up to you. https://excelwithallison.blogspot.com/2020/04/dimdate-what-why-and-how.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

View solution in original post

1 REPLY 1
AllisonKennedy
Community Champion
Community Champion

Hi @Anonymous 

 

This is because you have data back to 2017. I have added a slicer for year to your page, and it now only shows week num to 39 and that should fix your numbers too. See attached file please below signature.

 

I do recommend trying a more robust Date table than the one you have created using DAX, but up to you. https://excelwithallison.blogspot.com/2020/04/dimdate-what-why-and-how.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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.