@bgregs and I were having an issue (and strenuous discussion!) about the cause of this error when opening or refreshing a cube view. Could not find a clear answer on the forum and both of us had a different solution without really knowing the why. It is MDX related.
The problem arises if a cube view has more than one dimension on a row and one of those dimensions is a filtered MDX subset that may return zero elements. If the filtered MDX dimension is the only dimension in the row, the view will render with no lines displayed. We can reproduce this at will. @bgregs solution is to ensure the MDX returns at least one member and that resolves the problem.
For example:
Code: Select all
FILTER (blah, blah blah) + {[dimname].currentmember}
I have not tested since this determination, but I believe I have had multiple dimensions on a row in an older model, but each dimension was MDX filtered and a view would still render without error or records. I've done that to identify bad intersections in user input cubes. Regardless, this may be spelled out on the Forum somewhere, but we did not find it.