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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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