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
srk_powerbi
Helper II
Helper II

create a period column in data table

Hi,

I have a date table and want to add another column to find which Period ( WTD,MTD,QTD,YTD) it belongs. If i take 5/1/2021, it falls under three buckets MTD,QTD,YTD. I want to do that for each date..

DatePeriod
5/1/2021MTD
5/2/2021MTD
5/3/2021MTD
5/4/2021MTD

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @srk_powerbi ,

 

Based on your description, you need to create 4 columns because the dates will be repeated over different periods.

Or you can concatenate periods into a column.

 

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

 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @srk_powerbi ,

 

Based on your description, you need to create 4 columns because the dates will be repeated over different periods.

Or you can concatenate periods into a column.

 

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

 

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.