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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.