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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
manoj_0911
Post Patron
Post Patron

Creating a Date Parameter with Specific Time Frames in Power BI

I'm seeking guidance on creating a date parameter within Power BI that provides the following values for time frames: today, yesterday, this week, last week, this month, last month, this quarter, last quarter, this year, last year, and the option for a custom range with a start and end date.

 

Could someone kindly provide insights or guidance on how to achieve this within Power BI?

 

Attached is a sample dataset.

 

manoj_0911_0-1701267967860.png

 

 

1 REPLY 1
Anonymous
Not applicable

HI @manoj_0911,

I'd like to suggest you add a custom column to check the current time value field and return different tags. Then you can use these tags as source of slicer to filter records.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.