Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi Team,
In the Power Query Editor page, it’s easy to use the “Split Column by Delimiter” button to transfer the Table A’s data to Table B. In the dataset view, it is not easy to do as we don’t have edit query permission in the Model view. In the "Report View" page, may I know is there any formula can split the text into row's view? So, in the "Report View" page, I can create a new column (based on the split formula), and display the Table B’s view. Thanks!
Are we able to split the text column into row?
Table A
ID | Member |
ID_1 | User A, User B |
ID_2 | User C, User D, User E |
Table B
ID | Member |
ID_1 | User A |
ID_1 | User B |
ID_2 | User C |
ID_2 | User D |
ID_2 | User E |
Solved! Go to Solution.
Hi @MandyL
Please refer to attached sample file with the solution
TableB =
GENERATE (
VALUES ( TableA[ID] ),
VAR String = CALCULATE ( SELECTEDVALUE ( TableA[Member] ) )
VAR Items = SUBSTITUTE ( String, ", ", "|" )
VAR Length = PATHLENGTH ( Items )
VAR T = GENERATESERIES ( 1, Length, 1 )
RETURN
SELECTCOLUMNS ( T, "Member", PATHITEM ( Items, [Value] ) )
)
Hi @MandyL
Please refer to attached sample file with the solution
TableB =
GENERATE (
VALUES ( TableA[ID] ),
VAR String = CALCULATE ( SELECTEDVALUE ( TableA[Member] ) )
VAR Items = SUBSTITUTE ( String, ", ", "|" )
VAR Length = PATHLENGTH ( Items )
VAR T = GENERATESERIES ( 1, Length, 1 )
RETURN
SELECTCOLUMNS ( T, "Member", PATHITEM ( Items, [Value] ) )
)
Thank you so much for your help. 😊
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
17 | |
14 | |
11 | |
9 | |
7 |