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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.