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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.