Page 1 of 1

Single Quote around DB rules

Posted: Fri Mar 27, 2026 4:27 pm
by MarenC
Hi,

I saw a rule where for a DB to a cube, the dimension names had apostrophes around them,

e.g. Instead of this: DB('Cube', !Version, !Year..);
the rule had this: DB('Cube', !'Version', !'Year'..);

I must admit it completely escaped me that you could do this, but I was wondering, is there any advantage to using the single quotes?

Maren

Re: Single Quote around DB rules

Posted: Wed Apr 01, 2026 12:49 pm
by jim wood
It was probably put there in older versions to handle dimension names with spaces. I doubt there is any kind of benefit.