Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi
I have following data-set
DATA
Reduction of Capital
Right issue of equity shares
Consolidation of shares
Exchange of share Certificate
Right issue of equity shares
EXPECTED -OUTPUT:
DATA
Reduction of Capital
Right issue
Consolidation of shares
Exchange of share Certificate
Right issue
I want to split the "Right Issue" within same column
Solved! Go to Solution.
Use this where Source need to be replaced with your previous step
= Table.ReplaceValue(Source,each [DATA],each Text.BeforeDelimiter([DATA], " of equity shares"),Replacer.ReplaceValue,{"DATA"})
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("jcxLCoAwDATQqwTX3qJ4AbfFRaixDZRGTQp6ez+guHQ7b2a8b3oaazCWAjKBw5kNczO0J3BMBqxa6SJaKtsOmnAlvQtOikrmEZ/1x7otJCyR3hgcrcYTBzT6cT8c", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [DATA = _t]),
Custom1 = Table.ReplaceValue(Source,each [DATA],each Text.BeforeDelimiter([DATA], " of equity shares"),Replacer.ReplaceValue,{"DATA"})
in
Custom1
👍 It's been a pleasure to help you | Help Hours: 11 AM to 9 PM (UTC+05:30)
How to get your questions answered quickly -- How to provide sample data
NewStep=Table.TransformColumns(PreviousStepName,{"ColumnName",each if Text.StartsWith(_,"Right issue") then "Right issue" else _})
NewStep=Table.TransformColumns(PreviousStepName,{"ColumnName",each if Text.StartsWith(_,"Right issue") then "Right issue" else _})
The best solution depends on how general the solution needs to be and what other values exist in the DATA column.
With the given example, you can simply Replace "Right issue of equity shares" with "Right issue".
Use this where Source need to be replaced with your previous step
= Table.ReplaceValue(Source,each [DATA],each Text.BeforeDelimiter([DATA], " of equity shares"),Replacer.ReplaceValue,{"DATA"})
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("jcxLCoAwDATQqwTX3qJ4AbfFRaixDZRGTQp6ez+guHQ7b2a8b3oaazCWAjKBw5kNczO0J3BMBqxa6SJaKtsOmnAlvQtOikrmEZ/1x7otJCyR3hgcrcYTBzT6cT8c", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [DATA = _t]),
Custom1 = Table.ReplaceValue(Source,each [DATA],each Text.BeforeDelimiter([DATA], " of equity shares"),Replacer.ReplaceValue,{"DATA"})
in
Custom1
👍 It's been a pleasure to help you | Help Hours: 11 AM to 9 PM (UTC+05:30)
How to get your questions answered quickly -- How to provide sample data
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |