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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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