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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bharathreddy
Regular Visitor

need help with plotting frequency of an events occurring during a day

I need help plotting timestamped data of events. The data looks like below table . I am hoping to plot on x axis - times of the day like 8:00 AM, 8:30 AM ,9:00 AM -- so on.. and on y axis i want to show count of events occuiring during that time. 

This data is contineous ie hunderds of events happen any given day. 

Any help would be highly appreciated, 

Thanks in advance.

Column A (date when event occurs)Column B ( time when event occurs)Column C ( event, can repeat multiple times a day ) 
11-June-202011:34:04 AMevent A
11-June -20201:23:45 PMevent B
12-June-20208:00:01 AMevent A
12-June-20209:00:10 AMevent B
13-June -202002:06:34 PM

event C

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hi @bharathreddy ,

 

 

Have a look at this video.

https://www.youtube.com/watch?v=D-Z1k5o0upo&feature=youtu.be

 

Combine the Date and Time Column in Power Query.

 

Post that you can just drag the new created Column and Events Column on a bar, line chart.  You can apply Count in the Events Column.

 

Regards,

Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

View solution in original post

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hi @bharathreddy ,

 

 

Have a look at this video.

https://www.youtube.com/watch?v=D-Z1k5o0upo&feature=youtu.be

 

Combine the Date and Time Column in Power Query.

 

Post that you can just drag the new created Column and Events Column on a bar, line chart.  You can apply Count in the Events Column.

 

Regards,

Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

lbendlin
Super User
Super User

when you say "plot"  what do you mean? Line chart, scatter plot, or something else?

 

For a scatter plot you need to convert your column C into a numerical value before putting it on the Y axis.

Combine columns A and B into a datetime value and put it on the X axis .  Note that Scatter plots cannot display a lot of data, very quickly you will see a warning that grouping is happening.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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