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.
Hi everyone!
I want to use FORMAT([Date],"mmm") to show month like "Aug".
As you can see, Column 1 is using FORMAT() but returns wrong results. Column 2 is using MONTH() and returns correct results.
What caused the FORMAT() to return the wrong result?
Thank you in advance.
Solved! Go to Solution.
You are using "Date" column in formula
Try use "Review Date"
FORMAT([Review Date],"mmm")
Proud to be a Super User!
Hi All,
I found that I accidentally nested a MONTH() in FORMAT(), and the problem has been solved. Thanks everyone for your help!
@misaki233 , Check review date is detected as date of not. If not Change data type to date and then try
FORMAT([Review Date],"mmm")
Corect column should be review date. Also check to make sure the column is in date format.
Hi @misaki233
Since data is aligned to its right it is a date data type. It it was text it will be aligned to left.
Below is the formula for date data type.
MMM_Date = FORMAT(SELECTEDVALUE(Table[Review Date]),"MMM")
O/P:
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
You are using "Date" column in formula
Try use "Review Date"
FORMAT([Review Date],"mmm")
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |