Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I've created a new column that searches the text of another column and if any of the text matches another table I have setup, then it returns that value.
The new column is:
Comments By = VAR result =
CONCATENATEX('ID Matrix',IF(SEARCH(FIRSTNONBLANK('ID Matrix'[ID Extract],1),'Tracked Issues'[Description],,999) <> 999,'ID Matrix'[ID Extract],"")) Return IF( result <> Blank(),result,"Not Found")
The ID table looks like this.
My end result is this (below) with a new column being added that displays the inspectors initials if they've added them at the end of their description. As you can see its also finding those same matches in the middle of other words and then combines the two in the new column.
I know this has to be fairly simple, i'm still very new and more complex power BI so any help would be greatly appreciated!!
Solved! Go to Solution.
I think you've removed a comma when editing the formula. The part before the <> should be
RIGHT('Tracked Issues'[Description],3),,999)
I suppose you could limit the search by replacing the text to be searched
'Tracked Issues'[Description]
with
RIGHT('Tracked Issues'[Description],3)
Feel free to experiment
That makes a lot of sense to limit the search to the last few characters as thats where they typically leave their initials. Thank you for that.
I seem to be doing something wrong here, any thoughts on my code?
thank you!
I think you've removed a comma when editing the formula. The part before the <> should be
RIGHT('Tracked Issues'[Description],3),,999)
That worked thank you!
Not sure if there is an easier way to do this in powerBI but this will work fine for now!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
63 | |
53 | |
39 | |
25 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |