Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello everyone,
Is it possible to get this specfic formet of number from this string of number.
All kind of help will be appriciated.
Hi @Ns-leyton
You can create a custom column and input the following code
=Text.Middle([Column1](your column name),Text.PositionOf([Column1](your column name),"-")-4,9)
Output
and you can also refer to the attachment below.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hello, @Ns-leyton
finder = Table.AddColumn(
your_table,
"found",
(x) =>
[a = Splitter.SplitTextByDelimiter(" ")(x[column_name]),
b = List.Select(
a,
(w) => List.ContainsAll(chars, Text.ToList(w)) and Text.Length(w) = 9
)][b]{0}?
)
this also finds patterns like 12-456789 but you may add more conditions like split by "-" and check if both parts have the same lenght of 4. Hope you've got the idea.
@Ns-leyton Maybe, can you post that sample data as text?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |