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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have column like below.
I want to find customer number (e.g.39965929 -> in above example).
How to do this?
Maybe use FIND() function?
@amitchandak
Ok, but I need to find value between fourth and fifth space.
How to do this?
Hi @pawelj795 ,
You need a calculated column as below:
Column =
var a = SEARCH(" ",'Table'[Column1])
var b = SEARCH(" ",'Table'[Column1],a+1)
var c = SEARCH(" ",'Table'[Column1],b+1)
var d =SEARCH(" ",'Table'[Column1],c+1)
var e =SEARCH(" ",'Table'[Column1],d+1)
Return
MID('Table'[Column1],d+1,e-d)
And you will see:
For the related .pbix file,pls click here.
Best Regards,
Kelly
@v-kelly-msft
I think I know what creating problem.
I have some rows without 5th space.
Is there any solution to get round this?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 101 | |
| 76 | |
| 56 | |
| 51 | |
| 46 |