This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
I am really new to Power BI and it seems really promising!
I would like to make a relationship between two fields which are in fact Serial Numbers :
- First is in a sqlite DB and is of type AA0000
- Second is in a Excel file and is of type AA0000-X
To be able to make the link between both, I would like Power BI to ignore the last two caracters coming from the Excel file that are in fact useless.
Any idea how to deal with it?
I would like as much as possible not to modify the Excel file since these are raw data extracted from another SAP DB periodicaly. It contains only text, no formulae. Otherwhise, I would have just put =LEFT(...;6) in the excel file.
Thanks a lot,
Max
Solved! Go to Solution.
In query editor, click on your column and go to the Transform tab in the ribbon. In the middle there is a section called Text Column and in there is a drop down for Extract. You can extract first characters, characters before delimiter, etc. If you want, you could copy the copy and then do that so that you preserve the original column. But, sounds like you wouldn't need to do that.
In query editor, click on your column and go to the Transform tab in the ribbon. In the middle there is a section called Text Column and in there is a drop down for Extract. You can extract first characters, characters before delimiter, etc. If you want, you could copy the copy and then do that so that you preserve the original column. But, sounds like you wouldn't need to do that.
Thanks smoupre, it works great!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |