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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Grouping data each 15 minutes

Hi !

 

I would like a help for an application that I have to develop. I have a table (fData) with granularity of minutes and I need to group by every 15 minutes, according to the image.

 

Also the .PBIX application.

 

groupedtable.PNG

 

Thanks if anyone can help me !Smiley Happy

 

Greetings ! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You can add a calculate column to extract whole quarter datetime from datetime field, then use it and flowgas(summary mode average) to create a table visual.

 

Formula:

Datetime Group =
DATEVALUE ( [DateTime] )
    + TIME ( HOUR ( [DateTime] ), MINUTE ( [DateTime] )
        - MOD (
            MINUTE ( [DateTime] ),
            15
        ), 0 )

13.png

 

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

 

You can write a measure to check minute part of datetime values to return tag, then drag it to visual level filter to keep Y result records:

IsQuarer =
IF ( MOD ( MINUTE ( MAX ( fData[DateTime] ) ), 15 ) = 0, "Y", "N" )

8.png

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous !

 

Thank you for your time spent and return for help. 
Actually that way it is not quite what I need, so it's filtering the values every 15 minutes and in fact I need an average of the values every 15 minutes.

 

DataExcel.png


Please see the following file formula in Excel: Data.XLSX

 

 

Greetings !

Smiley Happy

Anonymous
Not applicable

Hi @Anonymous ,

 

You can add a calculate column to extract whole quarter datetime from datetime field, then use it and flowgas(summary mode average) to create a table visual.

 

Formula:

Datetime Group =
DATEVALUE ( [DateTime] )
    + TIME ( HOUR ( [DateTime] ), MINUTE ( [DateTime] )
        - MOD (
            MINUTE ( [DateTime] ),
            15
        ), 0 )

13.png

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi Everyone !

 

Could someone help me and give me an idea how to implement it ?

Sorry, I really need that ...  Smiley Frustrated

 

Grettings ! Smiley Happy

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors