Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
96 | |
69 | |
45 | |
40 | |
30 |
User | Count |
---|---|
154 | |
93 | |
63 | |
42 | |
41 |