Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Group average values from [Fecha_Hora] per hour!!!

People.

I have a very large table with a lot of records, where records are inserted per minute.

Fr4ncoFerr3r_0-1651758965323.png

I need to create a table from this, grouping the AVERAGE values per hour. That is, average the 60 values of the field value_1 at the time 04-05-2022 16:00. But, grouping from the [Fecha_Hora] field of the table. I don't want to add the column:

CONVERT((FORMAT (data_xample[Fecha_Hora], "dd-mm-yyyy hh:00:00")),DATETIME) to group the values into a table.
Fr4ncoFerr3r_1-1651759857804.pngFr4ncoFerr3r_2-1651759881445.png

How do I group by [Fecha_Hora]?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Syndicate_Admin , I think you need to have to create that column, Now instead of a column, You can use selectcolumns in summarize. In selectcolumns  you can give expression for each column

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Syndicate_Admin 

As mentioned by @amitchandak , you have to create the column.

If you want to call the function 'SUMMARIZ' to summarize data based on a column, your column must be a specific column and can not be an expression.

 

veasonfmsft_0-1652252168138.png

Best Regards,
Community Support Team _ Eason

 

amitchandak
Super User
Super User

@Syndicate_Admin , I think you need to have to create that column, Now instead of a column, You can use selectcolumns in summarize. In selectcolumns  you can give expression for each column

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.