Expression editor
For the convenience of writing expressions use the Expression Editor. It can be opened by double clicking on the text object or by using the button in the properties.
The expression editor is a window in which you can enter text expression or insert the items from the "Data" window: