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

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

Reply
jwang14
New Member

How to split a column using a delimiter in direct query

I'm using direct query mode and I'm wondering if there's a way to use a calculated column to split a column by a delimiter (creating a measure would crash my visual).
For example, I have a name column with sample data like (John; Snow). I want to split the name by the delimiter ";". Thanks

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @jwang14 - Split the column when you are using direct query mode it is best to prefer to handle the transformation in the SQL data source, you can modify your SQL query to split the column. This approach depends on the SQL dialect of your data source. it is not suggestable on creating calculated columns directly in Power BI might not be feasible due to performance issues

 

Hope it works on doing the changes in sql itself instead of after extracting the data to power query or dax calculated column approach.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @jwang14 - Split the column when you are using direct query mode it is best to prefer to handle the transformation in the SQL data source, you can modify your SQL query to split the column. This approach depends on the SQL dialect of your data source. it is not suggestable on creating calculated columns directly in Power BI might not be feasible due to performance issues

 

Hope it works on doing the changes in sql itself instead of after extracting the data to power query or dax calculated column approach.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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