i write this formula:
Go to Solution.
I can reproduce your issue here.
I guess that you column "Year A" is of type "DATE".
As mentioned in this document ,function "Year" returns the year of a date as a four digit integer in the range 1900-9999.
It is suggest to convert your column "Year A" to type "text"
Best Regards,Community Support Team _ Eason
View solution in original post
Hi @waleed111 can you show your AddedTime column data?
@waleed111 , it may be because it is time or has data type as time.
Only time will have a year 1900
Proud to be a Super User!
It is of type date.
@waleed111 , this is strange, Can you share sample pbix after removing sensitive data.
Year A = format('[Added Time],"YYYY")
Hope you do not have another table. Try without a table name
Year A = YEAR('[Added Time])
when i use:
it show me this error: cannot convert value to date.
Check out the on demand sessions that are available now!
Check out the Winners!
Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.