To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I tried to find out from the previous solutions from the forum. but I could not. I got that error.
May you help me to reach the solution?
Solved! Go to Solution.
Wrap the 1, 2 and 3 in "" to make them text 🙂
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Thanks for the reply from SamWiseOwl , please allow me to add some information:
Hi @Anonymous ,
If it's convenient, could you provide your error message? Based on the DAX formula you provided, it appears that Forecast[CSR_Remarks - Delivery Forecast] is a text date. When using the Month() function, please be aware of the following points: the function uses the locale and date time settings of the client computer to understand the text value in order to perform the conversion. If the current date time settings represent a date in the format of Month/Day/Year, then the following string "1/8/2009" is interpreted as a datetime value equivalent to January 8th of 2009, and the function yields a result of 1. However, if the current date time settings represent a date in the format of Day/Month/Year, then the same string would be interpreted as a datetime value equivalent to August 1st of 2009, and the function yields a result of 8.
MONTH function (DAX) - DAX | Microsoft Learn
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Wrap the 1, 2 and 3 in "" to make them text 🙂
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.