Forum Discussion
daouddajani
11 years agoNew Member
Reverse Text
is thier a way to flip (reverse) the contant of a field i.e volumn x has the value 12345 i need it to be displayed 321
- 11 years ago
Are you reversing and truncating or just reversing? You can reverse text in M by saying
Text.Combine(List.Reverse(Text.ToList("12345")))
curth
11 years agoPower BI Team
Are you reversing and truncating or just reversing? You can reverse text in M by saying
Text.Combine(List.Reverse(Text.ToList("12345")))
Greg_Deckler
11 years agoCommunity Champion
Brilliant, missed that Text.ToList function when I scanned through the list of functions. Nice and clean.