Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Good Afternoon,
I'm trying to extract a reference number into its own column. The reference is sometimes input but not always present.
The reference will always start with "SMIS" and will have a varying amount of numbers directly following it (normally there are 5, 6 or 7 numbers in the reference).
What is the best way to pull this ref out?
@L_Oram Perhaps use Text.Split to convert the text into a list using a space as separator. Then you could use List.MatchesAll with a condition based on Text.Start (SMIS).
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.