cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

split by delimiter

hi,

 

i want to split column by delimiter (to an unknown number of rows)

i can't do it on power bi because the table is very big and this function is not supported on direct query

is someone have a way or function to do this? my DB is SQL Azure Data warehouse

 

thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: split by delimiter

@MP_123

Have you tried the split function in T-SQL?

If you encounter any performance issue, I'll suggest you re-model your dataset, say create an extra table that has the data split and use this table in your Power BI report.

View solution in original post

Highlighted
Microsoft
Microsoft

Re: split by delimiter

Or if you are lucky enough to be using SQL-2016 then you can do it natively now using

 

STRING_SPLIT (Transact-SQL)

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: split by delimiter

@MP_123

Have you tried the split function in T-SQL?

If you encounter any performance issue, I'll suggest you re-model your dataset, say create an extra table that has the data split and use this table in your Power BI report.

View solution in original post

Highlighted
Microsoft
Microsoft

Re: split by delimiter

Or if you are lucky enough to be using SQL-2016 then you can do it natively now using

 

STRING_SPLIT (Transact-SQL)

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors