I have a monthly xlsb file input which is now imported to the workflow by using the Read_All_Excel_Files macro.
It works most of the time. But issue came up for a certain column during some of the months. This column is supposed to be numbers, some of which can be shown as 0, or -, and some are just blank which is then shown as NULL in the workflow. And also the negative numbers are shown with (), just like (123,456.78).
In most of the cases, it goes well and the column is treated as double format.
But for some of the months, error message pops up saying it is a string format and cannot convert (123,456.78) to a number.
So I am thinking of creating a dynamic flow that if it is number format then it goes left and if it is string format, then remove the bracket by using formula REGEX_Replace([field1], "[(,*)]", "") and then convert to number format.
However, I don't know how to make it happen. Filtering or Detour do not seem to work here.