Hourly values from energy dashboard

hey. is there a chance to get the hourly and daily values from the energy dashboard.
for example: a have integratet my solar-production and energy-consumption. i can have a look how much ist was 10-11oClock yesterday or how much it was last week. i thin home assistant writes this values in a database? or is there a easy posibility to take this values for ather dashboards? maybe i want to have a dashboard where i can see my daily solar production from the last 7 days? or should i have to bild an helping endity for this?
how can i build one, giving me the kwh from yesterday?