Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
94 | |
79 | |
73 | |
63 | |
59 |
User | Count |
---|---|
110 | |
103 | |
84 | |
65 | |
62 |