Generating monthly summaries of data, data that starts in middle of month will have no graph #338
Unanswered
tomatensaus
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Can you double check with the stock statistics card that the data is indeed available? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Oh, I think I misread your intent. The monthly data is indeed missing in home assistant for those months and you want to use finer granularity data to reconstuct those missing months, right? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to generate monthly graphs using a running total of data that gets reset on a daily basis.
The graph does not show unless the recording starts at the 1st of the month. Is there any way to render data even though the month is incomplete. Below is an example where there is plenty data for November (last month) but the data started recording after the 1st.
This is the data
![image](https://private-user-images.githubusercontent.com/1019233/287269058-6647c3b6-b8c8-49d8-ad99-100d56ff86a4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTYwMzUsIm5iZiI6MTczOTYxNTczNSwicGF0aCI6Ii8xMDE5MjMzLzI4NzI2OTA1OC02NjQ3YzNiNi1iOGM4LTQ5ZDgtYWQ5OS0xMDBkNTZmZjg2YTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTAzNTM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWFjNzVlYTk3ZTU2ZTk5N2M5ZDRiNmE0NjQwODk1NWQ5NzU5NWIzZTQ2NDdjM2I3NTY2YTZlNTRlNjhkMTUwNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.JLuJnX7w3XqPm4l9Jf2Uylj3rB1w4l_Q9T2-PVTkAc0)
This data is also recorded as a full total that increases every day with no resets. If this makes it easier to use, then I would switch the graph to use this data. just mentioning it in case this makes the problem easier to solve
![image](https://private-user-images.githubusercontent.com/1019233/287273309-4f468f86-f812-4d83-9daa-7616f617e805.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTYwMzUsIm5iZiI6MTczOTYxNTczNSwicGF0aCI6Ii8xMDE5MjMzLzI4NzI3MzMwOS00ZjQ2OGY4Ni1mODEyLTRkODMtOWRhYS03NjE2ZjYxN2U4MDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTAzNTM1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjNlOTlhZWI5ZjU2YWM3ZDQ1YWY0NGRiY2I3YmU2YzJiMGYxMTYxZjdjOWMwNDMzYmNhZmEyMjNhN2UxNzNjNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.fOhgRrveDLOPZ05B-1aFv2hUMFvB2iSwvJdzsea2I5I)
I was hoping that the extend to present would fix that scenario.
I need a way to present the data even though it is not complete
Beta Was this translation helpful? Give feedback.
All reactions