Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
124 | |
106 | |
99 | |
63 | |
59 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |