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
Anonymous
Not applicable

Relative date filter and date slicer

 
Chart type - Bar Chart showing the month on month total count.
We have a report that by default shows the data for the current month, filter is set as shown in fig 1. when users access the report (we are using a filter for that) so that it will show only the current month data in visual. But the report also has a slicer filter where we would like to enable users to select a specific month on the same page where the slicer is set as shown in fig 2. I’ve already worked on disabling the interactions between the two filters and enabling the interactions of each filter with all other visuals we have on the page.

Still not working, since the default filter filters the data even when the slicer is used.

Would that be a solution for the default selection to be disabled when users interact with the slicer filter?

 

Fig 1.

NithiyanandamK_1-1654497663823.png

 

Fig 2 

NithiyanandamK_2-1654497832781.png

 

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

HI @Anonymous,

It sounds like you want to use the slicer to achieve a selector effect instead of the filter.

For this scenario, I'd like to suggest you create an unconnected table and use it as the source of the slicer.
After these steps, you can write a measure formula to compare selected values and return the flag and use it on the 'visual level filter' to filter visual records.

Applying a measure filter in Power BI - SQLBI
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,

It sounds like you want to use the slicer to achieve a selector effect instead of the filter.

For this scenario, I'd like to suggest you create an unconnected table and use it as the source of the slicer.
After these steps, you can write a measure formula to compare selected values and return the flag and use it on the 'visual level filter' to filter visual records.

Applying a measure filter in Power BI - SQLBI
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Hariharan_R
Solution Sage
Solution Sage

Hi,

 We dont have option to handle default and custom date selection in one Power BI slicer. Please refer this - https://www.linkedin.com/pulse/custom-range-date-slicer-power-bi-dynamic-defaults-more-a%C5%9F%C4%B1...

Thanks

Hari

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.