Forum Discussion

dommyw277's avatar
dommyw277
Helper V
2 years ago
Solved

No Suitable Date column

Hi, I have a column called Event Type and its the only column that contains the date of the Bill we get. However it contains text before it eg "Azure Monitor (April 2023) " How do i duplicate the c...
  • christinepayton's avatar
    2 years ago

    You can duplicate the column in Power Query, then split on specific characters (assuming it's consistent) to leave the date, then transform that field to a date type. In your example, I would split on the last "(" and again on the last ")" to get the date, then change the type to date  in the UI. It will recognize April 2023 as something that can be a date when it transforms and make it the first of the month.