Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have a text string column that begins with 3 numbers followed by letters for some of the items in the column. I want to look for anything in that column that starts with a number and if it does, I want to return a value and if it doesn't start with a number, then I want to return another value.
Solved! Go to Solution.
Hi @DMB90
Thanks for the reply from @Ahmedx , please allow me to provide another insight:
First of all, I create a set of sample:
Then add a calculate column:
Column =
IF ( IFERROR ( VALUE ( MID ( 'Table'[Column1], 1, 3 ) ), 1 ) = 1, "NOT", "YES" )
The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
or try this code
Thanks! This worked!
pls try this
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
User | Count |
---|---|
94 | |
90 | |
84 | |
76 | |
49 |
User | Count |
---|---|
143 | |
141 | |
109 | |
69 | |
55 |