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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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