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!View all the Fabric Data Days sessions on demand. View schedule
All of the suden text.contain no longer works. What or how can we search if a text field contains a value ?
Text.contains is not recognized in Power BI desktop as any valid function. All the forums and Google searches are incorrectkly stating that this is supported inm power BI.
HasDoc = IF text.contains('00-GLSummary'[ORCTRNUM],"VCHR"),"1","0"
Solved! Go to Solution.
hello @lcasey
You can use Search Function
HasDoc = IF(SEARCH("VCHR",'00-GLSummary'[ORCTRNUM],1,0)<>0,1,0)
hello @lcasey
You can use Search Function
HasDoc = IF(SEARCH("VCHR",'00-GLSummary'[ORCTRNUM],1,0)<>0,1,0)
Your right, that works. Text.contains must be an older method. This worked perfectly, Thanks!
Text. Contains is part of Power Query Language.
you can use this in Query Editor.
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!