Compass of IMU module giving same values in all 3 directions


I was testing the compass of IMU. For simplicity I was using code for MPU9150 on Arduino website:

The issue is I was getting the similar (almost same) readings in all three direction of compass. I have not worked much with magnetometer so I am not sure this is normal or there is something wrong. Could anybody please help me in getting independent values in each of 3 directions. Any effort will be appreciated.

Thanks and Regards,