Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to merge 2 dates into one Column as below,
I have week start date and week end date and i would like to create week order as example;
Week SD Week ED Week Order
01.01.2024 07.01.2024 01.01.2004 - 07.01.2024
I triend many possibilites but now as i need result.
and formatting not as i wanted.
Need to : 01.01.2004 - 07.01.2024
thank you
Solved! Go to Solution.
Hi @MustafaP ,
Please try to create new column with below M code in Power Query pane:
= Text.From([Week SD], "en-US") & " - " & Text.From([Week ED], "en-US")
Please replace '[Week SD]' and '[Week ED]' with the actual column names of your week start date and week end date. This formula assumes your dates are already in the desired format. If not, you might need to format them first using the 'DateTime.ToText' function with a custom format string, like so:
= DateTime.ToText([Week SD], "dd.MM.yyyy") & " - " & DateTime.ToText([Week ED], "dd.MM.yyyy")
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MustafaP ,
Please try to create new column with below M code in Power Query pane:
= Text.From([Week SD], "en-US") & " - " & Text.From([Week ED], "en-US")
Please replace '[Week SD]' and '[Week ED]' with the actual column names of your week start date and week end date. This formula assumes your dates are already in the desired format. If not, you might need to format them first using the 'DateTime.ToText' function with a custom format string, like so:
= DateTime.ToText([Week SD], "dd.MM.yyyy") & " - " & DateTime.ToText([Week ED], "dd.MM.yyyy")
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MustafaP
Can you please share a link to a dummy file with an example?
(without sensitive data)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
38 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
44 | |
39 | |
35 |