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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ilana105
Helper I
Helper I

Block the user to enter some dates in date filter

Hello all,

 

I have a date slicer in a report page and I have the relative page filter to show only date from two years ago until today (included). The thing is that if I select the date slicer I can manually change the date and write future dates.

 

Is it possible to block somehow the date slicer to only allow the user to select dates in the filtered dates I want to?

 

Thank you very much

9 REPLIES 9
v-qiuyu-msft
Community Support
Community Support

Hi @ilana105,

 

This is by design. When the slicer is created, it uses the date range of the data. You can the explicitly change the min or max. This is allowed so that user can set a custom window if he/she knows the range of dates in data can change.

 

Best Regards,

Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Employee
Employee

Hi @ilana105,

 

Maybe there is workaround. You can use two slicer and hide one slicer with Selection if the users don't have Edit access. Maybe the previous "if" condition isn't necessary if you are pursuing the convenience rather than security. And one more step is making sure the hidden slicer only filter the visible slicer.

Block_the_user_to_enter_some_dates_in_date_filter

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-jiascu-msft

 

Thanks for your answer! I found out the selection pane and have created another slicer to hide. I have edited the interactions but I still can select future dates in the previous slicer

 

image.png

 

 

Hi @ilana105,

 

I have reported this to the Product Team to investigate more. The workaround could be the idea of @Greg_Deckler. I will update here later.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much @v-jiascu-msft !

Hi @ilana105,

 

You are welcome. It's by design according to the reply of the Product Team.

 

Best Regards,

Dale

 

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Use the drop down to change the slicer type from Between to After or Before or perhaps Relative. Might provide a less confusing interface for users.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

Is this a useability issue or a true security issue? In other words, do you have future dates and data that you don't want users to see or ?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Hello @Greg_Deckler

 

It is more a useability issue, because this might let the users think that they have future dates when they haven´t. However, in the future this might be a security issue

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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