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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
tmendoza
Resolver I
Resolver I

Help with Slider Visual; Using "between" function for period dates not working

Hello Power BI Community,

 

Having some trouble with the Slicer visual. I'm using the "between" functionality on it, because i'm trying to have my dashboard reflect data between fiscal periods.

These periods range from 2018 - 2020 and are denoted as such:

201801, 201802, 201803.....2018011, 201812.....201901, 201902, 201903..........201911, 201912, 202001 etc.

Jan             Feb            Mar                 Nov             Dec                Jan         Feb              Mar                  Nov           Dec             Jan

However, when using the slicer, it's including periods that don't exist. After the year cuts off at 201812 the slicer shows 201813 through to 201899 and 201913 through to 201999.

My question is this; When using the "between" functionality, how do I have the slicer explicetly show the periods ranging from XXXX01 - XXXX12 and not the numbers in between the fiscal periods (XXXX13 - XXXX99)?

 

Slicer.PNG

1 REPLY 1
SteveCampbell
Memorable Member
Memorable Member

The between slicer needs a continuous column, and will show all numbers in a continuous way between the two values.

There's no real easy way to do this with a between slicer. One way, could be to use the Microsoft custom vis - "Timeline Slicer". You are slicing off a date key, but for this you really want to use a date column, formatted as a date. you can use a calculated column such as:

Date = DATE(  LEFT(Table[Fiscal Period],4) , (RIGHT(Table[Fiscal Period],2), 1)

 

Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!

Stay up to date on  linkedin-logo.png
Read my blogs on  powerbi.tips_.png

Remember to spread knowledge in the community when you can! tu.png



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.