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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
current_thing
Frequent Visitor

Split a delimited cell value in PowerBI table visual

I'm creating a visual page in PowerBI. I want to create a measure that'll take:

current_thing_0-1658281417553.png

and split it using the "|" delimeter, which would create 2 rows. How can I do this? Thank you!

1 ACCEPTED SOLUTION

After doing the steps in Power Query, you could use pivot or Unpivot in Power Query :

Select the Columns, right click on ones :

MahyarTF_0-1658372094793.png

MahyarTF_1-1658372145631.png

At the end delete the Unused column(s), and use the rest in your visuals in Row

MahyarTF_2-1658372271124.png

 

Mahyartf

View solution in original post

3 REPLIES 3
MahyarTF
Memorable Member
Memorable Member

Hi,

For this purpose, you could split the column based on the Delimiter. Go to the power query, right-click on the particular column, and select Split ...

MahyarTF_0-1658283671849.png

Then Enter the "|" in second field and press Ok button :

MahyarTF_1-1658283727031.png

- Also you could use below DAX statement in Power Bi, when you want to create new columns :

First Col = left(Sheet22[Test - Copy], find("|", Sheet22[Test - Copy])-1)
Second Col = right(Sheet22[Test - Copy], find("|", Sheet22[Test - Copy])-1)
MahyarTF_2-1658284256932.png

 

Mahyartf

Thanks for the response. But I need to split a concatnated string into rows within visual

After doing the steps in Power Query, you could use pivot or Unpivot in Power Query :

Select the Columns, right click on ones :

MahyarTF_0-1658372094793.png

MahyarTF_1-1658372145631.png

At the end delete the Unused column(s), and use the rest in your visuals in Row

MahyarTF_2-1658372271124.png

 

Mahyartf

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.