Forum Discussion

Krzysztof_Zebro's avatar
Krzysztof_Zebro
Regular Visitor
2 years ago
Solved

Column non standard data format

Hello

 

I'm for a while now trying to find out how to approche below problem. 

 

After importing data from external source and some transformations I recive data in specific format.

 

eg. 4242_A03389_5_S690QL_RevA_szt2  --> number_text_number_text_text_text

 

In some cases data is missing first number block --> A03389_5_S690QL_RevA_szt2

 

Is there a way to check if data in column have a specific format as in first example or to chceck if data begins with numbers not text?

 

 

  • You can do this in Power Query with a custom column.

    This will return 0 if the string starts with a number and -1 if it does not.

2 Replies

  • You can do this in Power Query with a custom column.

    This will return 0 if the string starts with a number and -1 if it does not.