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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
maheshwarineha
Frequent Visitor

Recognize peak entry times

How to find the peak time from a datetime column and show it in visual.

 

Sample data:

entry time
02-01-2023 00:58:36
04-01-2023 09:12:41
04-01-2023 19:36:58
04-01-2023 18:08:24
04-01-2023 12:47:17
04-01-2023 19:06:20
07-01-2023 01:13:52
07-01-2023 05:28:54
07-01-2023 18:09:17
07-01-2023 00:13:20
07-01-2023 09:55:14
08-01-2023 13:39:52
08-01-2023 19:35:27
08-01-2023 04:56:45
08-01-2023 10:58:22
08-01-2023 01:00:01
09-01-2023 14:16:59
09-01-2023 15:09:10
09-01-2023 14:10:12
09-01-2023 17:25:30
09-01-2023 18:55:21
09-01-2023 11:56:11

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @maheshwarineha ,

I create a table as you mentioned.

vyilongmsft_0-1715657293841.png

Then I create two calculated columns.

Hour = HOUR('Table'[entry time]) 
Entries =
COUNTROWS (
    FILTER ( 'Table', HOUR ( 'Table'[entry time] ) = EARLIER ( 'Table'[Hour] ) )
)

vyilongmsft_1-1715657536532.png

Finally I put it into the visual and it will give you the result.

vyilongmsft_2-1715657711946.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @maheshwarineha ,

I create a table as you mentioned.

vyilongmsft_0-1715657293841.png

Then I create two calculated columns.

Hour = HOUR('Table'[entry time]) 
Entries =
COUNTROWS (
    FILTER ( 'Table', HOUR ( 'Table'[entry time] ) = EARLIER ( 'Table'[Hour] ) )
)

vyilongmsft_1-1715657536532.png

Finally I put it into the visual and it will give you the result.

vyilongmsft_2-1715657711946.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @maheshwarineha 

 

Use the MAX formula to get the maximum value that you need.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

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