Forum Discussion
Concatenate EXCEPT where blank
- 1 year ago
Good day MeganMarkey,
It may be that the solutions given do not work for as they are DAX solutions and you may be working in Power Query. As you posted in the Power Query forum I'll give you a Power Query solution. Add a custom column using the following code,
= if [Tr.prt] = "" then "" else [CoCd] & "/" & [Tr.prt]
Hope this helps
Hi MeganMarkey ,
Try the following instead:
Relationship =
IF(
NOT ISBLANK(GIT[Tr.prt]),
GIT[CoCd] & "/" & GIT[Tr.prt]
)
Pete
Hey BA_Pete ,
Unfortunately that hasn't worked 😞 Although when I read your response I was convinced it would! Just to check, am I missing something in making PBI recognise the cells as 'blank'? Or is being empty enough?
Thanks!
- BA_Pete1 year ago
Super User
In DAX terms, empty is BLANK().
It sounds like you may have space (" ") or other special characters in your cells rather than them being truly empty/BLANK().
Some upstream data cleaning may be in order here.
Pete