Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
98 | |
75 | |
63 | |
62 |
User | Count |
---|---|
135 | |
105 | |
104 | |
80 | |
65 |