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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors