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.
My data source is creating three separate columns, for Year, Month, Day, each recognized as a whole number.
I am looking for a simple statement that allows me to concatenate these elements and format as a date.
Appreciate all of the help from the PBI community.
Thanks!
Solved! Go to Solution.
One solution could be combining them together in Power Query and then transforming the column to type date.
If you go to advanced editor in query editor and add these lines:
CombinedYMD = Table.CombineColumns(Table.TransformColumnTypes(#"Previous Step", {{"month", type text}, {"day", type text}, {"year", type text}}, "en-US"),{"month", "day", "year"},Combiner.CombineTextByDelimiter("/", QuoteStyle.None),"Date"), CombinedYMDtoDate = Table.TransformColumnTypes(CombinedYMD, {{"Date", type date}}) in CombinedYMDtoDate
Replacing "#"Previous Step"" with the previous step's name in your query and month/day/year by your column names, it should work.
This looks like heavy lifting for a newbie.
Any other suggestions for a simple DAX statement?
the simple statement could be DATE function:
What if the month columns are month names, not number?? (January, February, March...)
I cannot get it to recognize DateFormat. Any suggestions?
Hi,
Share some data and show the expected result.
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 |
---|---|
64 | |
63 | |
52 | |
39 | |
24 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |