Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
how would I go about splitting these 2 columns into rows and keeping the relation intact
the relation being the order that they appear are linked to each other
Solved! Go to Solution.
Hi,
@Anonymous has solved a similar problem here. He should be able to help you with this one as well.
You may refer to the code below.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSrROsk5W0lEytDayNlaK1YlWSrFOBfJNrE2VYmMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Table.FromColumns({Text.Split([Column1], ";"),Text.Split([Column2], ";")})),
#"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Column1", "Column2"}, {"Custom.Column1", "Custom.Column2"})
in
#"Expanded Custom"
Could you please show me how to apply it to the following file which contains the dataset.
https://1drv.ms/u/s!ArcejqUhGxP2iW_UKWT-6z3gRGGx
Thanks,
Ryan
Hi,
@Anonymous has solved a similar problem here. He should be able to help you with this one as well.
Hi,
Share the link from where I can download your PBI file.
Hi,
I do not know what to paste from there. Please share data in 2 columns of an MS Excel file.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
72 | |
44 | |
38 | |
30 |
User | Count |
---|---|
157 | |
90 | |
62 | |
46 | |
40 |