# Calculate Keyfigure difference

Dear SDN,

I have two keyfigures A and B in Cube.

I want C = A - B in the Cube.

Could anyone guide me how to calculate C in the Transformation.

Please give me the routine to calculate C -= difference of A and B.

Formula works or routine is required.

Regards,

Rahul

##### Pruthvi Renukarya replied

Hi,

I think formula will do the job.

In transformation map A and B from source to one destination C.

Then write the formula as <b>A - B</b>.

Hope this helps.

regards,

Pruthvi R