Energy-sources-table - subtract

is it possible to subtract the 2 meter numbers from each other?

EL MÅLER minus EL MÅLER VARMEPUME = TOTAL ?

type: energy-sources-table
view_layout:
  position: sidebar

You can do this with a template sensor.

Thanks, I know
but then I have to make a template for all kwh and price.

It would be nice if it could be done in the card with [Energy-sources-table] and I think it wont work with the ‘energy-date-selection’