Hi,
Please try to regenerate the BEx Query using t/code RSRT.
If that does not help, then it could be a program error. In that case it is relevant to know on which SAP BW release you are working and which SP level is applicable.
Best regards,
Sander