The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a date column with the current date right now using this formula:
= DateTime.LocalNow())
I do NOT want seconds, however, but do want AM/PM shown. I tried the following:
Date.ToText(DateTime.Time(DateTime.LocalNow()), "MM-dd-yy AM/PM")
It simply won't display properly for whatever reason... it results in error
Solved! Go to Solution.
Please try this formula instead
= DateTime.ToText(DateTime.LocalNow(), "MM-dd-yy tt")
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please try this formula instead
= DateTime.ToText(DateTime.LocalNow(), "MM-dd-yy tt")
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.