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
Hi All
I have a Field name BRAND_ :-
I like to recode the BRAND_ to BRAND_P only display "YASKAWA" Brand :-
Can some one share with where go wrong ?
Paul
Solved! Go to Solution.
Hi @admin11
Your BRAND_ column doesn't actually contain the string "YASKAWA". It contains the strings " YASKAWA" and "YASKAWA "- note the leading and trailing space.
That's why your code isn't working.
Clean up the BRAND_ column by removing spaces - you can use Text.Trim in Power Query.
regards
Phil
Proud to be a Super User!
Hi @admin11
Your BRAND_ column doesn't actually contain the string "YASKAWA". It contains the strings " YASKAWA" and "YASKAWA "- note the leading and trailing space.
That's why your code isn't working.
Clean up the BRAND_ column by removing spaces - you can use Text.Trim in Power Query.
regards
Phil
Proud to be a Super User!
The issue cause by below :-
Hi @admin11
Create a new column using your code then it should work fine
Regards
Phil
Proud to be a Super User!
Hi Philip
Thank you for your help.
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.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |