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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello, I'm trying to look in [Column] for the word "Scenario". If it finds it, I need to return "Scenario " + the next 2 characters. For example, the string may read "2040 3m Scenario 1 **DO NOT CHANGE**" and I need to return "Scenario 1"
Solved! Go to Solution.
Actually, I'll just look for Text.Contains "Scenario 1" or "Scenario 2" etc. That should do what I need, too. Sorry to bother!
Hi,
from this
to achieve this
you have to add a custom column
Text.Range([Column1], Text.PositionOf([Column1],"Scenario"),10)
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!
Hi,
from this
to achieve this
you have to add a custom column
Text.Range([Column1], Text.PositionOf([Column1],"Scenario"),10)
If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!
That's perfect! Thanks so much for figuring this out for me!!
Actually, I'll just look for Text.Contains "Scenario 1" or "Scenario 2" etc. That should do what I need, too. Sorry to bother!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.