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 need some help in removing -UK from both columns Source Code and Allocation
and also everything was is after / in the Source Code
Any help please?
Thanks
Hi,
you can do this in power query, just right click the columns, select replace values type -uk in the first and leave the second blank
@DOLEARY85 I can't, wont let me if I'm querrieng the data from the database. To use Power Query I need to import the data and will take ages.
Ah okay,
for the -uk part you could create a column in report view:
For the part after the / you could use the search function to count the starting character using wildcards in the search e.g
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 |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |