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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I filter a string out of a text with:
= try if Text.StartsWith([Product_Number], "P-") then Text.Range([Product_Number],11,2) else "NoService" otherwise "NoService"
that works fine solar and the result is e.g. A1, A2, A3, etc. I have another table that looks like:
A1 || Vendor1
A2 || Vendor2
etc.
How can I enhance above furmula to do the lookup immediately, i.e. putting "Vendor1" or "Vendor" in the column instead of the Text.Range result?
thanks
Solved! Go to Solution.
HI,@adieball
After my research, you can do these follow my steps:
Step1:
Use your formula to add a custom column
Step2:
Step3:
Expand the table
Step4:
add a conditional colum:
Result:
You can also remove unnecessary column
Best Regards,
Lin
HI,@adieball
After my research, you can do these follow my steps:
Step1:
Use your formula to add a custom column
Step2:
Step3:
Expand the table
Step4:
add a conditional colum:
Result:
You can also remove unnecessary column
Best Regards,
Lin