Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello i have a month text come from sharepoint list so i need to convert it to date. I tried to convert it using DAX but im still having issues with the relationship i guess because my other 2 tables have date datatype while i just convert this table's month text to date.
Hi,
Use below code to create the datecolumn :
Appreciate your Kudos and please mark it as a solution if it helps
Hi @xRTP ,
You could use datevalue function for this .
For example Date =DATEVALUE([Year] + "/" + [Month] + "/" + 01) or similiar.
Thanks ,
Pratyasha Samal
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
Proud to be a Super User!
I dont have a year only month that was on text form
hi @xRTP ,
You could simple use a static value in place of year or you can make it dynamic by using TODAY() function
For Example :-
Date =DATEVALUE(YEAR(TODAY())+ "/" + [Month] + "/" + 01) or similiar.
Date =DATEVALUE(YEAR("January 2023")+ "/" + [Month] + "/" + 01)
Thanks ,
Pratyasha Samal
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
Proud to be a Super User!
User | Count |
---|---|
92 | |
88 | |
88 | |
79 | |
49 |
User | Count |
---|---|
156 | |
145 | |
105 | |
72 | |
55 |