RTrim (MDX) Returns text containing a copy of a specified string without trailing spaces (RTrim). Returned Output: Text Library: MDX \ VBA \ String Version: 2018.00.000 Compatibility: Microsoft MDX Engines only Syntax RTrim( <Text> ) Further Help on Syntax and Examples For more details on using the VBA library in MDX please click here. For more details on the syntax of the VBA function please click here