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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@awillem,

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

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

3 REPLIES 3
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@awillem,

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

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.