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 write this formula:
Solved! Go to Solution.
Hi, @waleed111
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
@waleed111 , it may be because it is time or has data type as time.
Only time will have a year 1900
It is of type date.
@waleed111 , this is strange, Can you share sample pbix after removing sensitive data.
Try this
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:
Year A = format('[Added Time],"YYYY")
it show me this error: cannot convert value to date.
Hi, @waleed111
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
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 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |