How to show total price of items in Woocommerce

I am using Display number of items sold between dates with a shortcode in WooCommerce answer code which displays the number of items sold in a period. This works like a charm.

But I also want to display the total price of these items. so I've just changed in the code the meta key _qty to _price but that didn't work.

It's probably something small Any help or hint is appreciated?