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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
ERROR:
The search Text provided to function 'FIND' could not be found in the given text.
DAX Formula:
Solved! Go to Solution.
Hi @josephtsmith ,
Try to modify the formula like this:
Work Type =
VAR a =
RIGHT (
'Work Order'[Work_Type_Service_Coverage__c],
LEN ( 'Work Order'[Work_Type_Service_Coverage__c] )
- FIND ( "-", 'Work Order'[Work_Type_Service_Coverage__c] )
)
RETURN
LEFT ( a, FIND ( " -", a ) )
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DAX Formula : wide = FIND("X",Stkmast[Desc])
Stkmast[Desc] as Woodfee 60G 24X35 APR-AA
We are add columm in Table, Please suggest to me. Thank you.
@josephtsmith , see fine.
Try like one of the two
Work Type Category = RIGHT('Work Order'[Work_Type_Service_Coverage__c], LEN('Work Order'[Work_Type_Service_Coverage__c])-FIND(" - ",'Work Order'[Work_Type_Service_Coverage__c],,0))
Work Type Category = RIGHT('Work Order'[Work_Type_Service_Coverage__c], LEN('Work Order'[Work_Type_Service_Coverage__c])-FIND(" - ",'Work Order'[Work_Type_Service_Coverage__c],,LEN('Work Order'[Work_Type_Service_Coverage__c])))
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Still searching for resolution; thanks!
Neither option above worked.
Here are some values from the source column (Work_Type_Service_Coverage__c):
APERIO AT - REPAIR - Service Contract
APERIO AT - UPGRADE - SU Warranty
APERIO AT TURBO - APPLICATION SUPPORT - Application Support
The part that we're trying to get at is the middle between the dashes.
Thanks!
Hi @josephtsmith ,
Try to modify the formula like this:
Work Type =
VAR a =
RIGHT (
'Work Order'[Work_Type_Service_Coverage__c],
LEN ( 'Work Order'[Work_Type_Service_Coverage__c] )
- FIND ( "-", 'Work Order'[Work_Type_Service_Coverage__c] )
)
RETURN
LEFT ( a, FIND ( " -", a ) )
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.