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.
Goodmorning community,
i need to solve a problem. I have a column containing for ex:
03-Jul-23 A
08-Nov-23*
03/11/2023
03/11/2023 A
03-Jul-23
and i need to extract date all in the same format.
Could you help me?
Thank you very much in advance.
Solved! Go to Solution.
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.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
15 | |
13 | |
12 | |
11 |