This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Good day for everyone!
I try to change format of colomn on datetime in one row with AddColumn:
= Table.AddColumn(#"Переупорядоченные столбцы", "TodayDate", each Date.From(DateTime.LocalNow()), type datetime)
I need column in format: dd.mm.yyyy hh:mm:ss, but PQ returns me dd.mm.yyyy.
| Need | Have |
Can somebody explain me, what am I doing wrong? If i write expression like this = Table.TransformColumnTypes(#"Добавлен пользовательский объект",{{"TodayDate", type datetime}}), all is ok, but i need write it in one row.
Solved! Go to Solution.
The following will return the start of the day. It won't be no time, it will be 12:00am, but that may depend on your localization settings as to how you visually see it.
=Date.StartOfDay(DateTime.LocalNow())
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.