Hi
You can refer the below link to understand the exract of refresh history details.
https://github.com/microsoft/powerbi-powershell/blob/master/examples/Export-RefreshHistory.ps1
I had written a script which exported the data into csv files.
Best Regards,
ankbaner