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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Stoppelaar
Advocate I
Advocate I

Period Slicer showing numbers not existing, any solution?

Hi,

I am using a Period slicer on Year & Week, the user can write the year and week and get the data he/she needs but I would like to have the scroll bar, so it's even easier but I have not found a solution where the scroll goes from 202201 to 202252, it keeps going to 202299 and that data does not exist in my table...

 

Is there a solution on this or is it just to accept or take a another option?

 

Stoppelaar_0-1684160101626.png

 

Many thanks,

Andreas

 

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Stoppelaar 

 

You can try the following methods.

Column:

Weeknum = WEEKNUM([Date],2)
Period = YEAR([Date])*100+[Weeknum]

vzhangti_0-1684293068340.pngvzhangti_1-1684293097394.png

Is this the result you expect? If not, please provide more information.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-zhangti  for your answers! 

 

I have tested it but with the same result! 

So if you are only looking on 1 year then there are no problem, it's when you move from one year to the next you get weeks not existing in the data from week 52(53) to 99!

Stoppelaar_0-1684327357557.png

 

It might be that there are no solution but it's a bit strange that it makes up numbers that is not in the acctual table?

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.