How to interpret magnetometer data of mpu9255

I have some problems to interpret the data of the magnetometers. I can read data but i don't know how to interpret them.

I need to calculate yaw pitch roll angle from magnetometer

Generally, you use the magnetometer to estimate the yaw angle. You need a gyro and accelerometer for roll and pitch.

See this introductory material on how to estimate orientation.