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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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