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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
zausten
Helper I
Helper I

Month Between Slicer

Hi

 

Does anyone know if its possible to create a Months Between Slicer.  e.g Jan-2022 to Feb-2022 .  The relative date option is not good enough as you cannot select different months, just current minus x no of months.  

Timeline slicer on app store is along right lines but is massive and takes up to much space.

 

thanks

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @zausten ,

 

If there is only one date table, then I think you have to use the multi-select feature of the slicer.

 

vkkfmsft_0-1646287402079.png


If you are willing to try two separate date tables, then you need to use the measure to filter the data.

 

Measure = 
COUNTROWS (
    FILTER (
        'Table',
        'Table'[Date] >= MIN ( Dates[Date] )
            && 'Table'[Date] <= MAX ( 'Dates 2'[Date] )
    )
)

vkkfmsft_1-1646287703106.png

 

Best Regards,
Winniz

View solution in original post

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @zausten ,

 

If there is only one date table, then I think you have to use the multi-select feature of the slicer.

 

vkkfmsft_0-1646287402079.png


If you are willing to try two separate date tables, then you need to use the measure to filter the data.

 

Measure = 
COUNTROWS (
    FILTER (
        'Table',
        'Table'[Date] >= MIN ( Dates[Date] )
            && 'Table'[Date] <= MAX ( 'Dates 2'[Date] )
    )
)

vkkfmsft_1-1646287703106.png

 

Best Regards,
Winniz

thanks @v-kkf-msft works as requested

lbendlin
Super User
Super User

You can use two disconnected tables to feed individual slicers, and then use a measure as a page filter to enact the month range.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.