Weird space issue in rules
Posted: Fri Mar 19, 2010 12:36 pm
Just wanted to put this out there as I've just had a problem that's taken me a while to track and caused a little bit of head scratching.
I was refering to a hardcoded element in rules in DB statement, but the DB statement would not make the link to the cube.
I copied the reference in the rule and the element from the dimension side by side in Excel and visually they were identical.
The one from the rule however produced a key error, where as the one from the subset did not.
It's only when I compared the reference on a character by character basis that I discovered one of the spaces in the bad name from the rule was ASCII code 160 rather than the normal 32. I don't have the first clue how this happened but just in case anyone else hits it.
Cheers
I was refering to a hardcoded element in rules in DB statement, but the DB statement would not make the link to the cube.
I copied the reference in the rule and the element from the dimension side by side in Excel and visually they were identical.
The one from the rule however produced a key error, where as the one from the subset did not.
It's only when I compared the reference on a character by character basis that I discovered one of the spaces in the bad name from the rule was ASCII code 160 rather than the normal 32. I don't have the first clue how this happened but just in case anyone else hits it.
Cheers