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
awillem
Frequent Visitor

Separating a Date Range

Hi! I'm VERY new to Power BI, but am finding the tutorials helpful.  What I have not found how to do, however, is to split a column with a date range into the beginning and ending dates.  I pulled my data from Excel, and in Excel I would normally use a left/right text function. Not sure how to do this in Power BI.  Any help would be great. Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@awillem,

Please check DAX in attached PBIX file. If you still have questions, please share sample data of your table.
1.PNG

Regards,
Lydia

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@awillem,

Please check DAX in attached PBIX file. If you still have questions, please share sample data of your table.
1.PNG

Regards,
Lydia

Thank you.  I figured this out.  

Anonymous
Not applicable

@awillem  if you want an equivilent to LEFT and RIGHT, when you edit queries (Query Editor), there are functions called Text.Start and Text.End which will work identically to left and right.  Perhaps that will help?

 

If you are unsure how this would work.  Find your query (what will become your table).  Add a new step to create a Custom Column, found under the 'Add Column' area of the ribbon.  Here you can type your formula in with Text.Start and you can make use of the field picker on the right to help get the formatting correct.

 

Here are some links to the functions incase you need some more details:

 

https://msdn.microsoft.com/en-us/query-bi/m/text-start

https://msdn.microsoft.com/en-us/query-bi/m/text-end

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