Forum Discussion
Anonymous
4 years agoNot applicable
Repeat 24 hours average for each day
Hi all, First post here. I’ve gathered the forum and part of Google. I've found similar topics, but I cannot make it work, I’d be grateful for your help. I have an hourly time series in Power B...
- 4 years ago
Anonymous Soooorry, a huge mistake!!
The correct formula:
= CALCULATE(AVERAGE(Prod_ES[Price]), ALLEXCEPT(Prod_ES,Prod_ES[date].[Date]))the first one took into account only the day, but you have a lot of years and months!BF
BeaBF
Super User
4 years agoAnonymous Hi!
can you paste the data as a table and not an image?
BF
Anonymous
4 years agoNot applicable
Sure BeaBF !
There you have.
Thanks!!
| Date | Price | Daily average |
| 19/05/2022 0:00 | 179,94 | 192,12 |
| 19/05/2022 1:00 | 176,27 | 192,12 |
| 19/05/2022 2:00 | 177,98 | 192,12 |
| 19/05/2022 3:00 | 185,06 | 192,12 |
| 19/05/2022 4:00 | 222,33 | 192,12 |
| 19/05/2022 5:00 | 235,7 | 192,12 |
| 19/05/2022 6:00 | 230,01 | 192,12 |
| 19/05/2022 7:00 | 215,94 | 192,12 |
| 19/05/2022 8:00 | 198,22 | 192,12 |
| 19/05/2022 9:00 | 171,59 | 192,12 |
| 19/05/2022 10:00 | 167,02 | 192,12 |
| 19/05/2022 11:00 | 163,7 | 192,12 |
| 19/05/2022 12:00 | 161,18 | 192,12 |
| 19/05/2022 13:00 | 157,14 | 192,12 |
| 19/05/2022 14:00 | 157,14 | 192,12 |
| 19/05/2022 15:00 | 162,1 | 192,12 |
| 19/05/2022 16:00 | 164,54 | 192,12 |
| 19/05/2022 17:00 | 182 | 192,12 |
| 19/05/2022 18:00 | 220,43 | 192,12 |
| 19/05/2022 19:00 | 236,21 | 192,12 |
| 19/05/2022 20:00 | 226,03 | 192,12 |
| 19/05/2022 21:00 | 213,31 | 192,12 |
| 19/05/2022 22:00 | 211,1 | 192,12 |
| 19/05/2022 23:00 | 195,98 | 192,12 |
| 20/05/2022 0:00 | 189,56 | 201,33 |
| 20/05/2022 1:00 | 188 | 201,33 |
| 20/05/2022 2:00 | 189,56 | 201,33 |
| 20/05/2022 3:00 | 208,62 | 201,33 |
| 20/05/2022 4:00 | 226,51 | 201,33 |
| 20/05/2022 5:00 | 230,05 | 201,33 |
| 20/05/2022 6:00 | 230,72 | 201,33 |
| 20/05/2022 7:00 | 224 | 201,33 |
| 20/05/2022 8:00 | 204,97 | 201,33 |
| 20/05/2022 9:00 | 200,28 | 201,33 |
| 20/05/2022 10:00 | 195 | 201,33 |
| 20/05/2022 11:00 | 190,07 | 201,33 |
| 20/05/2022 12:00 | 180,18 | 201,33 |
| 20/05/2022 13:00 | 174 | 201,33 |
| 20/05/2022 14:00 | 180,18 | 201,33 |
| 20/05/2022 15:00 | 190 | 201,33 |
| 20/05/2022 16:00 | 214,92 | 201,33 |
| 20/05/2022 17:00 | 225,63 | 201,33 |
| 20/05/2022 18:00 | 226,87 | 201,33 |
| 20/05/2022 19:00 | 218,03 | 201,33 |
| 20/05/2022 20:00 | 205,27 | 201,33 |
| 20/05/2022 21:00 | 190,17 | 201,33 |
| 20/05/2022 22:00 | 180 | 201,33 |
| 20/05/2022 23:00 | 169,27 | 201,33 |