Forum Discussion
Anonymous
6 years agoNot applicable
Power Query: How to extract first characters from all columns except first two columns in a query
Hi , I would like to extract first character from all columns except the first two columns "NAME" and "OBJECT_NAME". I don't wan't to specify the column names each time while extracting since it cha...
Anonymous
6 years agoNot applicable
Hi ImkeF ,
Yes it is.
My req is 1) extract first character.
2)calculate the length (which will be 1).
3)replace nulls and errors to 0
4) Add new column with sum of column values against each rows
ImkeF
6 years agoCommunity Champion
Hi Anonymous
Easiest would be to check the first 2 columns and unpivot others.
Then select first character and do all the other transformation and pivot back.
Please check this post on how to improve the quality of your requests:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490