The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello experts:
I am trying to merge 3 columns in one converting the final result into date format.
1) Merging the columns: StartDate=[Start date.2.2]/[Start date.2.1]/[Start date.2.3]
2) Converting to Date format
However the final result is messed up! The dates don't match against the original data.
Would someone have any suggestion? How to do that?
1) Merging these 3 cols:
Solved! Go to Solution.
In Power Query you must use the functions available in the Power Query language (sometimes called M). If your columns are numbers, your formula is a division, not a concatenation of strings.
Try writing the same as this:
= Text.From([Start date.2.2]) & "/" &
Text.From([Start date.2.1]) & "/" &
Text.From([Start date.2.3])
Or if you want the column to conatin an actual date rather than a text string representing a date, try
= #date([Start date.2.3],[Start date 2.1],[Start date 2.2])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
79 | |
73 | |
46 | |
39 |
User | Count |
---|---|
135 | |
109 | |
69 | |
64 | |
55 |