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.
when i write this formula:
Solved! Go to Solution.
HI @waleed111,
So you mean you want to change the date type field to only display the year values? If this is a case, I'd like to suggest you take a look at the following link about table properties text formatting which only changes the disabled format and keeping raw field values.
Use custom format strings in Power BI Desktop
Notice: format function will return text values with the custom format as you defined in the optional parameter.
Regards,
Xiaoxin Sheng
HI @waleed111,
So you mean you want to change the date type field to only display the year values? If this is a case, I'd like to suggest you take a look at the following link about table properties text formatting which only changes the disabled format and keeping raw field values.
Use custom format strings in Power BI Desktop
Notice: format function will return text values with the custom format as you defined in the optional parameter.
Regards,
Xiaoxin Sheng
@waleed111 , what is data in 'Purchase Order Received Report'[Added Time]
This error can come if [Added Time] has only year no date.
Or you are trying to change data type of the column to date
yes i try to change data type of the column to date
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
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 |
---|---|
97 | |
97 | |
82 | |
74 | |
66 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |