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
ShaoyuHung
Helper I
Helper I

How to fulfill Slicer using first day of year and today?

How to fulfill Slicer using first of year and today?

 

I Want to fulfill Start: 2022/1/1 ,End : 2022/2/22,If today is 2022/2/22 .

 

ShaoyuHung_0-1645518049862.png

excepted slicer (If today is 2022/2/22): 

ShaoyuHung_1-1645518077125.png

 

3 REPLIES 3
v-chenwuz-msft
Community Support
Community Support

Hi @ShaoyuHung ,

 

You can create a table named slicertable via calendar (date(year(today()),1,1),today()).

Pbix file in the end you can refer.

 

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.

ShaoyuHung
Helper I
Helper I

Thank you !

amitchandak
Super User
Super User

@ShaoyuHung , You can not initialize/default a range slicer. You can log an idea - https://ideas.powerbi.com/ideas/

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.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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