Forum Discussion
MichaelBauld
4 years agoFrequent Visitor
Extracting the first letter after a defined text string within a column
Hi all, I have a dashboard showing invoice payments by supplier name. This is filtered by the first letter of each supplier account as processing invoices is assigned to staff by the first lett...
- 4 years ago
ddpl
Solution Sage
4 years agoTry below steps in Power Query...
Step 1: Replace "t/a " (t/a[space]) with ","
Step 2: Add a Custom Column...
Your Need = if Text.Contains( [Suppliers], "," ) = true
then Text.Start( Text.AfterDelimiter( [Suppliers], "," ), 1 )
else Text.Start( [Suppliers], 1 )
Hope it will work for you.