itsnotaboutthecell

Power Query M - ASCII Characters

Feb 3rd, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. /*
  2. Created By: Alex Powers
  3. Website: http://www.itsnotaboutthecell.com
  4. LinkedIn: https://www.linkedin.com/in/alexmpowers/
  5. */
  6.  
  7. let
  8. Source = {0..127},
  9. #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), {"Dec"}, null, ExtraValues.Error),
  10. #"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"Dec", Int8.Type}}),
  11. #"ASCII Characters" = Table.AddColumn(#"Changed Type", "Char", each Character.FromNumber([Dec]))
  12. in
  13. #"ASCII Characters"
Add Comment
Please, Sign In to add comment