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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Saniat
Helper V
Helper V

Date Calendar with only end of Month Date

Hi,

In my data, I only have end of month dates e.g. 28 Feb, 31 Mar, and no other dates like 15 Jun, 22 Aug.

However, when I bring that date as a slicer, the slicer shows all the dates within max and min dates.

How can I only show the available dates in the dataset e.g. only end of the month dates ?

 

Thanks.

6 REPLIES 6
v-chenwuz-msft
Community Support
Community Support

Hi @Saniat ,

 

No, the default slicer of calendar always contains the date between the max date and min date.

You can try Timeline and show only year and month level. So that the end user can not see the day level.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

PaulDBrown
Community Champion
Community Champion

It is recommended to use a Date table as a dimension whenever dates are involved. You could then filter the slicer using a measure:

Filter dates = COUNTROWS (RELATEDTABLE(Fact Table))

add the measure to the filter pane for the slicer and set the value to greater or equal to 1

 

As an alternative, you can create a dimension table for the dates you have using

Dates in fact table = DISTINCT(Fact table[Date])

and then create a relationship between this new table and the fact table, and use the date in the Dates table as the slicer





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






I tried that. On the Date table, although I only have end of month dates available, when brought in as a slicer, it shows all the dates of the month.

I even created a separate table with manual end of month entries, and used it as a slicer, but unfortunately the slicer still shows days during the month.

Can you post a screenshot please?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hi @PaulDBrown 

I have created a separate table for end of months:

Saniat_0-1655801786305.png


... which has been linked with the main table '1'.

When I bring in the Date Slider as a list, I see months and years only:

Saniat_1-1655801872395.png



But when I change this to a 'between' slicer, I can go to a mid-month date (which I do not want):

Saniat_2-1655801910484.png

 



 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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