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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.