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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Neehar
Helper I
Helper I

how to Apply Date Slicer filter Programmatically

Hi All,

 

Is there any way to set the date slicer filter programmatically for a power bi report?

 

Please help

 

1 REPLY 1
v-chenwuz-msft
Community Support
Community Support

Hi @Neehar ,

 

I'm not sure it can do that, but you can write dax so that slicer can dynamically display the content you need. DAX returns 1 via if(). And put this measure in filter pane on this slicer and set it show items which is 1.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.