March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hii, I'm new to powerbi. For the below table, for each cutomer Id, I want to split the "Alerts" column into two columns based on position of the line. The odd ones should get stored into Alerts1 and even ones into Alerts2. I'm not able to do this. Can anyone help me with this. Thank you.
Solved! Go to Solution.
=Table.SplitColumn(PreviousStepName,"Alers",each List.Transform(List.Zip(List.Split(Text.Split(_,"#(lf)"),2)),each Text.Combine(_,"#(lf)")),{"Alerts1","Alerts2"})
=Table.SplitColumn(PreviousStepName,"Alers",each List.Transform(List.Zip(List.Split(Text.Split(_,"#(lf)"),2)),eacth Text.Combine(_,"#(lf)"),{"Alerts1","Alerts2"})
Hii, Thanks for your reply. After applying this formula, I'm getting this below error.
Expression.Error: 3 arguments were passed to a function which expects 2.
Details:
Pattern=
Arguments=[List]
Can you please tell me why it is coming? Thank you
=Table.SplitColumn(PreviousStepName,"Alers",each List.Transform(List.Zip(List.Split(Text.Split(_,"#(lf)"),2)),each Text.Combine(_,"#(lf)")),{"Alerts1","Alerts2"})
Thank you so much. It worked.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |