Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi Champ's
I am new to PBI, wondering if someone can help me with below query,
i have a note field with general text, and i want to create a new column with
if note field contains both "enquiry" and "OBG" then "A"
if note field contains "enquiry" NOT "OBG" then "B"
else "C"
whats the best way to do this?
Ash
Hi,
Try this calculated column formula
=IF(SEARCH("Enquiry",Data[Note],-1)>0,IF(SEARCH("OBG",Data[Note],-1)>0,"A","B"),"C")
Hope this helps.
Not sure what is wrong, getting an error message
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |