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
emanzat
Regular Visitor

Set filter (slicer) value on load power Bi service cloud

Hello,

 

there is a way to set slicer value on load ?

 

My slicer date : 

 

Slicer data table :

ssss.png

 in the slicer i want to set value dynamiclally on load:

 

Start date = first day of month

End date  = end of month

 

Best regards

3 REPLIES 3
GilbertQ
Super User
Super User

Hi there,

In order for this to work you need a value that does not change in a column, which will then allow you to create a filter. The underlying data associated to the value will change in another column.

What you would need to do, is to create a new column your date Date table which would have a static value which would be "First Day of Month", this would check the current date and then change based on the date.

You could then do the same for the "End of Month"

You then set these new column values as defaults for your slicers.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

hello  ,

 

The slicer is populated with only one column, there's no way to set two columns to make your approach.

That's why I'm looking if there is a way to change the slicer values dynamically when loading the page.

If you have an example, please send it to me.

Hi there

Currently there is no way to change the slicer values dynamically.

You would have to create a separate new column and use that as a filter on the page




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.

Top Solution Authors
Top Kudoed Authors