Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I'm trying to extract text of various lengths within string based on the position of certain operators within a string.
The current excel formula i'm using to do this is as follows: =TRIM(MID(A2,FIND("Text1",A2)+11,IFERROR(FIND("|",A2,FIND("Text1",A2)),LEN(A2))-FIND("Text1",A2)-IF(OR(FIND("Text1",A2)=1,LEN(A2)-LEN(SUBSTITUTE(A2,"|",""))>=2),11,9)))
Trying to recreate this using various Text functions (Range, PositionOf, etc.) but having some trouble, espescially when it comes to the last if or section
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 22 | |
| 20 | |
| 12 |
| User | Count |
|---|---|
| 68 | |
| 56 | |
| 42 | |
| 39 | |
| 30 |