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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
sharpedogs
Advocate II
Advocate II

Grouping Time in a DAX -

Hi, 

I get fed new reports every hour and for activity that takes place every 5 miniutes. I want to be able to gorup the times together in a Matrix so that I show the Max Qty in 2 hour chunks. 5 minute intrivlas is to much.

 

I want a DAx so that it recognizes everyting between the time 12:00:00 am and 2:00:00am as it's own block. 

 

User

# of loginsDay Time
Chad4March 612:05:00am
Dave5March 612:10:00am
Sam6March 61:15:00am

  

 

2 REPLIES 2
Anonymous
Not applicable

Hi @sharpedogs 

Click on column and filter column by greater than and less than values.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Anonymous
Not applicable

I would do that in Power Query. Shaping data for analysis, and this is what you're talking about here, should be performed in PQ. DAX is a Data Analysis Expressions language, not a data mashup engine.

Best
D

Helpful resources

Announcements
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.