custom function disobeying my data type declaration
Hello PBI folk,
I have a custom function that takes a text string of numeric digits as input and is supposed to return it as a text string, but when I look at the new column, it's showing as data type Any (ABC123), no matter what I do.
The function is trying to correct contract IDs, some with extra digit or missing leading zero's, so it has to remain a text string. The input parameter is of type Text, but the returned text data type doesn't survive the trip back to the new data column.