Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts
I am looking to add a second column to my table so if the value in
Column A has http://app.powerbi.com/ in the string at the start replace with Power BI and all other string values in column A to
"Web link" in column B
Solved! Go to Solution.
I think maybe:
IF(SEARCH("http://app.powerbi.com/",[Column],,-1) = 1,"Power BI",[Column])
I'm not entirely clear on requirements.
Hi @Anonymous
In the query editor, add a column with the following formula:
if Text.StartsWith([ColumnA], "http://app.powerbi.com/") then "Web Link" else [ColumnA])
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
I think maybe:
IF(SEARCH("http://app.powerbi.com/",[Column],,-1) = 1,"Power BI",[Column])
I'm not entirely clear on requirements.
Thanks Greg. Prefect
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.