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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to make date slicer with slider only display 1st and last days in a month

I have a date slicer set as a slider. I want users to select a start date and end date. I want the users to only be able to select the 1st of the month for the Start date, and the last day of a month for the End date. To achieve this, I have added a field IsFirstOrLastDayOfMonth to my dimDate table and filtered the slicer visual to IsFirstOrLastDayOfMonth = Y. 

But the slicer slider still allows users to select dates that have IsFirstOrLastDayOfMonth = N!

How can I achieve this?

 

EylesIT_0-1605881287486.png

 

6 REPLIES 6
ara0530
Advocate I
Advocate I

so in other words, what he is asking is not possible?  I have a similar need I only want to see the first of the month as the slicer moves, not every day

Anonymous
Not applicable

Hi @Anonymous ,

According to your description, I created some data to show:

v-yangliu-msft_0-1606123461930.jpeg

1. Generate a date range slicer and a slicer with month as list.

v-yangliu-msft_1-1606123461934.png

2. Select the date range slicer, open the format on the home page, select Edit interactions, and select the filter option for slicers with month as list.

v-yangliu-msft_2-1606123461936.jpeg

3. Result.

Select a month of the slicer with month as the list, and the date range slicer will only display the first and last days of the selected month

v-yangliu-msft_3-1606123461939.jpeg

You can downloaded PBIX file from here.

 

Best Regards,

Liu Yang

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

MFelix
Super User
Super User

Hi @Anonymous ,

 

You cannot set the select of the two values in the slicer in an individual believe that the best option would be to create a hierarchy slicer with year month.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

I don't understand the first part of your sentence. 

How would a hierarchy slicer allow a user to select a Start month and an End month, but without having to select every month in between? I think I'm missing something very simple.

amitchandak
Super User
Super User

@Anonymous , I think this because of range slicer. Convert to list and check

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I want it to be a range slicer. I don't want the users to have to scroll through a list of months

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors