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
admin_xlsior
Post Prodigy
Post Prodigy

Date slicer in months

Hi guys,

 

Can we make a slicer per month with the "slider" style ?

This kind of "slider" ->

admin_xlsior_0-1639138547506.png

 

This is a "Before" slicer, but I want to be in months only, and most importantly the date in the end is the last day of this month.

So instead 12/10/2021, it should be 12/31/2021. The source of this is my Date Dimension, which have dates up to year 2024.

 

Is it possible ? FYI, it is good if can be by months, but if not, my objective is to have the slicer end with last day of this month.

 

Thanks

 

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @admin_xlsior 

Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.

If no , please provide your need in detail .

 

Best Regard

Community Support Team _ Ailsa Tao

Anonymous
Not applicable

Hi @admin_xlsior 

I don't quite understand your needs .If you just want to return the last day of the month when you select the date ,you can use EOMONTH DAX to get the result you want .

Measure = EOMONTH(SELECTEDVALUE('Table'[Date]),0)

Ailsamsft_0-1639461204995.png

Best Regard

Community Support Team _ Ailsa Tao

amitchandak
Super User
Super User

@admin_xlsior , I doubt that is possible.

 

You can create an independent  date slicer and use month year and make it work like that

 

// Date1 in independent table Date is joine table
out =
var _max = maxx(allselected(Date1), Date1[Date])
return
calculate(sum(Table[Value]), Filter(Date,Date[Date] <=_max ) )

 

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

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

Hi @amitchandak 

 

I'm sorry, I looked at your video but not really understand it. 

First of all, the 1st slicer looks promising, by using Last N year with Calendar, but to use this makes the date is the date of last year ->

admin_xlsior_1-1639143606972.png

If I didn't choose "(Calender)", it will goes back as of today's date.

 

So how to make it 12/31/2021 ?

 

Further more, if lets say today is November 2021, I would like the date is up to 11/30/2021 instead. Point is the slicer should be up to last day of the current month.

 

Thanks

 

Thanks,

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.

Top Solution Authors