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
Wonder if someone can help a complete Newb at Power Query.
I'm trying to analyse several years worth of banking data. I need to allocate a spending type to each payee. The payee description field is particularly unhelpful, but much of it follows 2 main patterns.
The first has simply a text entry for the company name eg Ebay Sarl, Paypal etc (see attached image (after split into 2 columns)
The second has a variable number of entries separated by " , "
Using Split column in Power query, I have isolated most of these entries by splitting into 2 columns at the leftmost Delimiter which for all these entries seems to give me what I want. Unfortunately all the Text only entries have been kept in the first of the split columns (see attached image).
Is there any way to exclude those "text only" entries from the split so I can end up with all those payees in a single column, ie no null entries in that split second column.
Thanks
Colin
Hi,
Solved! Go to Solution.
Hi @colmac ,
For the sake of simplicity you could just add a third column:
if [Column2] = null then [Column1] else [Column2]
If you want to do it inline, you could right-click a null cell in [Column2], go to Replace Values, replace with "aaa", then amend the auto-generated code in the formula bar to change "aaa" to [Column1].
Pete
Proud to be a Datanaut!
Thanks for such a quick and helpful reply.
Worked perfectly - mind you I suspect you knew it would!
Many thanks though
Hi @colmac ,
For the sake of simplicity you could just add a third column:
if [Column2] = null then [Column1] else [Column2]
If you want to do it inline, you could right-click a null cell in [Column2], go to Replace Values, replace with "aaa", then amend the auto-generated code in the formula bar to change "aaa" to [Column1].
Pete
Proud to be a Datanaut!
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 |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |