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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
captainlaw
Microsoft Employee
Microsoft Employee

Which visualization should I use to show a KPI with StartTime + EndTime attributes?

Hello Community,

I would like to show by "continuous" timeline on x-axis of a KPI metric, which has StartTime + EndTime attributes in the dataset.  The tricky part is how to allocate the count across the timeline.  Each record below is 1 count.

ie 

StartTime                    EndTime

2018-01-01 08:15:51  2018-01-01 10:45:31

2018-01-01 09:45:51  2018-01-01 10:15:31

2018-01-01 13:24:51  2018-01-01 17:05:31

2018-01-01 15:17:51  2018-01-01 18:42:31

2018-01-01 07:15:51  2018-01-01 11:58:31

 

Final Result - a timeline chart that shows at any given time, the count.  For example, at 10 am sharp, the count should be 3 (1st, 2nd, and 5th records above).

I'm not sure which visualization provides the best approach for this.

 

Much Appreciated!

  

2 REPLIES 2
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @captainlaw

 

You may create measure to get the count first and then use chart to show them as requested.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That appears to be a more complicated solution.  How would you do so per my example?

I would think custom visual would handle StartTime & EndTime is a clever way.

Anyone know of a good custom visual for my dataset?

 

Thank you.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.