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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
RuchiK
Helper I
Helper I

Pre-Selected Slicer – Auto Select Current Period & Dropdown Expansion Issue

I am trying to implement a pre-selected slicer for Periods in Power BI. My requirement is to automatically pre-select the current period from my Period table.

  • My Periods are defined in 6-month ranges (e.g., Apr 2025, Oct 2025 , etc.).
  • On 1st October 2025, the slicer should automatically switch from the April 2025 period to the October 2025 period.
  • I am using the PeriodLabel column from my Period table in the slicer.

To achieve this, I tried using a custom “Pre-Selected Slicer” visual, but I am facing two issues:

  1. The pre-selection logic for the current period is not working as expected.
  2. The dropdown expansion behavior of the custom slicer is restricted inside the visual’s border. Unlike the default slicer in Power BI, it does not pop out fully. Because of this, long values are cut off and the user cannot properly see or scroll through the items (see screenshot attached).

My Questions:

  1. Is there a way to adjust the visual settings of the Pre-Selected Slicer so the dropdown expands outside the border (like a normal slicer)?
  2. If not, what are the best alternatives to achieve automatic pre-selection of the current period in Power BI while keeping a user-friendly slicer experience?

Also, I am attaching two one measures I have used for dynamic pre selections :

  1. Selected Period Start =
VAR Sel = SELECTEDVALUE(Periods[PeriodStart], BLANK())
VAR D = TODAY()
VAR Y = YEAR(D)
VAR AprThis = DATE(Y,4,1)
VAR OctThis = DATE(Y,10,1)
VAR CurrentPeriod =
    IF(D >= OctThis, OctThis,
       IF(D >= AprThis, AprThis,
           DATE(Y-1,10,1)
       )
    )
RETURN
COALESCE(Sel, CurrentPeriod)
2.
In Selected Period =
VAR StartDate = [Selected Period Start]
VAR EndDate = EDATE(StartDate, 6)
RETURN
IF(
    MAX('Date'[Date]) >= StartDate && MAX('Date'[Date]) < EndDate,
    1,
    0)
RuchiK_1-1758290048207.pngRuchiK_2-1758290085307.png

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

2. Use the Filter Pane instead. It has Relative filter options.

View solution in original post

5 REPLIES 5
v-menakakota
Community Support
Community Support

Hi @RuchiK 

Thanks for reaching out to the Microsoft fabric community forum. 

 

I would also take a moment to thank  @lbendlin , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference. 

 

As suggested, you can try using the Filter Pane with relative filters. This way the current period will automatically adjust based on today’s date, without needing a custom slicer.

Best Regards, 
Community Support Team  

Hi  @RuchiK ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team.

Hello @RuchiK ,

 

I am also part of CST Team and we’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.

 

Regards,

B Manikanteswara Reddy

Hi  @RuchiK ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team.

lbendlin
Super User
Super User

2. Use the Filter Pane instead. It has Relative filter options.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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