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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
RachC
Helper I
Helper I

Setting the Default Value of a Slicer

I want to set default filter of this week to slicer.However ,every answer use the option list.(i.e. if(weeknum(now())=weeknum([mydate]),"current week",[mydate]).

 

I selected the bar and choose start date with end date  to  filter date.On the previous way it's work on option-list but not on bar. 

any ideas?

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

Can you try explaining this again, I'm not getting what your issue is. Not sure what "on bar" refers to for example.



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

bar.png

set "between" to slicer.

I didn't use language of English in Power BI that I can't refer to Proper nouns accurately.

Hi @RachC,

Have you resolved your problem? 


Best Regards,
Angelia

umm..sadly it's not.

I try to make m code to implement my goal.

Hi @RachC

What's your problem, please feel free to ask. Based on my understanding, you create a slicer with a bar like the picture you posted. You can select the date scope in the slicer.

Best Regards,
Angelia

I just found this post in google. I think @RachC is looking for the same thing than me, how to pass dynamically a value to the slicer. For example, I would like the bar slicer goes from 01/01/2017 (1st day of current year) to today, all this dynamically. 


Kr,
Manuel

Hi @RachC,

You picture is bar slicer rether  than list. You can drag the ending button to adjust your date range. What's your requirement? Could you please descirbe clearly? Or you have resolved your issue by youself? If it is, please share the solution or mark the corresponding reply as answer.

Thanks,
Angelia

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors