Hey community,
I'm working through invoice detail to build out a cohort analysis but need some help. Our system includes the month on the end of each service in our invoice descriptions, for example "Recurring Service - January 2023" and then "Recurring Service - February 2023".
However, the month is only included in the invoice description for recurring services and not for one-time services such as repairs.
How can I easily remove " - January 2023" and other respective months when included in the invoice description, but keep the original invoice description if the month isn't present.
Unfortunately hyphens are not unique only to these instances so I can't leverage text to columns.
Thanks!