Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |