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
IoanCosmin
Helper III
Helper III

Customize the Relative Slicer

Hello,

 

I am wondering if there is a way to customize the basic Slicer visual. I am setting it to "Relative" and I would like to restrict what the end user is able to select. Instead of having 3 options (Last, Next, This), I want to remove the "Next" option. Also, it would be nice to restrict the other options (Days, Weeks, Weeks (Calendar), Months, Months (Calendar), Years, Years (Calendar)). I need that restricted to "Months (Calendar)". How can I customize it?

 

remove "Next"remove "Next"

The end users are not tech savy so I just want to make it easier for them by taking away selection that they will not have to use. I would like to keep using the Slicer visual instead of any workarounds because I want to be able to sync slicers across the report. I would be grateful for any suggestions.

 

Thank you,

C

1 REPLY 1
GRCacace
Frequent Visitor

Well, I can tell you from personal experience that when the controls don't do quite what you want them to do, you have two choices: either you create your own custom visuals/controls (see Microsoft's documentation), or you build the filters outside of the report and use the API to set the filters after the user makes a selection.

 

In our case, we ended up embedding the report on a page, created our own custom filters, and then had those filters use the API to set the values in the PBI Embedded report. Our case was different because the filters have to limit the data in the report and in the other filters; imagine a product filter limiting the SKUs in another filter - and vice versa...and then those filters need to persist between different PBI reports. So, creating custom controls wasn't going to help us.

 

Hope this helps you!

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.