when using the function (within a calculated metric) in analytics workspace, the preview window looks like this:

I would love to see instead of "dimension" the dimension i have used in the calculated metric, eg. "site sections" in this example.
Requested solution: replace "dimension" by the used dimension