Forum Discussion
DATE FROM TEXT STRING
- 3 years ago
Hi idage , to do that load data and go to power query
Step 1: Extracted Text Before Delimiter
= Table.TransformColumns(#"Filtered Rows", {{"Date", each Text.BeforeDelimiter(_, " "), type text}})Select Column -> Transform -> Extract -> Text Before Delimiter
Step 2: Replace Value (Replace * with space)
= Table.ReplaceValue(#"Extracted Text Before Delimiter","*","",Replacer.ReplaceText,{"Date"})Select Column -> Transform -> Replace Values
Step 3: Change Data Type (Output)
Regards
RoyelIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi idage , to do that load data and go to power query
Step 1: Extracted Text Before Delimiter
= Table.TransformColumns(#"Filtered Rows", {{"Date", each Text.BeforeDelimiter(_, " "), type text}})Select Column -> Transform -> Extract -> Text Before Delimiter
Step 2: Replace Value (Replace * with space)
= Table.ReplaceValue(#"Extracted Text Before Delimiter","*","",Replacer.ReplaceText,{"Date"})Select Column -> Transform -> Replace Values
Step 3: Change Data Type (Output)
Regards
Royel
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.