This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
my data looks like below:
| month | value |
| jan'18 | 1 |
| feb'18 | 1 |
| mar'18 | 1 |
| apr'18 | 1 |
Here monh column is in text type and when I try to change to date type, I get all errors. How do I fix this?
Kinldy help.
Solved! Go to Solution.
@sam_nik12345 , Try the other option suggested
Column = DATEVALUE("01-"& left([month],3) & "-" & RIGHT([month],2) )
@sam_nik12345 , I would prefer to create a date column like
DATEVALUE("01 " &[Month])
or
DATEVALUE("01-" &left([Month],3) & "-"& right([month],2))
Hi @amitchandak
I am getting error while creating a custom column with the formula-
= DATEVALUE("01 " &[Month])
@sam_nik12345 , Try the other option suggested
Column = DATEVALUE("01-"& left([month],3) & "-" & RIGHT([month],2) )
The other table is as below, on which I am getting error with this formula. week column format is text type. Kinldy help.
| week | value |
| 3-Apr-18 | 1 |
| 10-Apr-18 | 1 |
| 17-Apr-18 | 1 |
| 24-Apr-18 | 1 |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 27 | |
| 21 | |
| 20 | |
| 20 | |
| 20 |