Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Escaping right bracket (]]) in calculated member name in SSAS VS project problem

$
0
0

Hi everyone,

I'm facing the following annoying issue: whenever I try to include the brackets as part of the name of a calculated member in SSAS, its display name in the script organizer gets truncated:

lets say that I want to create a measure named 'Total Weight [Kg]'. Since the name contains spaces, I write it as: '[Total Weight [Kg]]]'. Everything works fine until I move to the Script Window and then back again to the Form View; at this point, all the members containing the brackets (as part of the name) are truncated in the Script Organizer and showed as '[Kg]]]'. Browsing the cube with a client tool displays correctly the name, but in the project it's really an annoying issue to deal with: all the measures that contain in its name the brackets, and the same value within them (e.g. '[measure name [Kg]]]') are displayed in the same way (e.g. '[Kg]]]').

Has anybody had the same problem?

Thanks in advance,

Gabriel


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>