Forum Discussion
Alirezam
Helper V
7 years agoaggregation of rows
Hi dudes, I have tons of data in half-hour format and want to aggregate them to hourly format adding two half-hour data together for each hour. The excel sample is attached. Any idea how to do it...
- 7 years ago
Once you have the correct time on each row you just need a measure
Sum = SUM ( table[kWh] )
then you pull the Year, Month, Day and time from the table and add in the measure.
jdbuchanan71
Super User
7 years agoello Alirezam
In PowerQuery, when you pull the information in, if you select the time column you can transform it to "Start of hour". The do another time transform to go to time only.
- Alirezam7 years ago
Helper V
Yes, but this was not my answer, may you please read again what I had asked? Thanks anyway
- jdbuchanan717 years ago
Super User
Once you have the correct time on each row you just need a measure
Sum = SUM ( table[kWh] )
then you pull the Year, Month, Day and time from the table and add in the measure.