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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi everyone,
I have a table with 2 columns where one is the combination of the other one plus some characters. As you can see in the image below, neither the "Prefix" nor the characters I'm trying to isolate follow any kind of logic in terms of number of characters, delimiter, etc. I only know that "Combination" = "Prefix" + something.
How can I isolate that something extra (in yellow above) either in the same column or as a custom column?
I can't use the extract or the split by delimiter functions because of the lack of logic. And this table comes from a source that I cannot edit it, but I still need to find a way to isolate that something extra.
Ideally I'd like to do it in power query, but I could make it work in DAX as well if the first is not possible.
Thank you advance for any help!
Solved! Go to Solution.
is this what you want?
=Text.End([Combination],Text.Length([Combination])-Text.Length([Prefix]))
Proud to be a Super User!
is this what you want?
=Text.End([Combination],Text.Length([Combination])-Text.Length([Prefix]))
Proud to be a Super User!
That's exactly what I was looking for! Thank you very much!
you are welcome
Proud to be a Super User!
Use Text.StartsWith - PowerQuery M | Microsoft Learn to check if the second column value starts with the first column value. Then use Text.Range - PowerQuery M | Microsoft Learn to return the rest of the second string.
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 |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |