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
Anonymous
Not applicable

Actual vs scheduled Timing graph

I have 2 columns  which are scheduled surgical time (hh:mm AM/PM) and actual surgical time (hh:mm AM/PM). I am trying to plot a comparision graph but I was not able to. Any ideas on how to plot this. I have tried all the visualization but no graph was not able to plot time.

2 REPLIES 2
negi007
Community Champion
Community Champion

@Anonymous  in this case i would suggest you to convert time values in your data to minutes or seconds by adding a column in your data and then you can create a measure to calculate time which can be used in your chart

 

Column to convert time into seconds

time(seconds) = (HOUR('Table'[Time])*60*60 + MINUTE('Table'[Time])*60)
 

negi007_0-1619708180222.png

 

measure to convert time into minutes

time(minutes) = SUM('Table'[time(seconds)])/60
 
use the measure in your chart that will help you to compare actual vs schedule time. 
 
do let me know if you still need further help on this. thanks

 




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



Proud to be a Super User!


Follow me on linkedin

amitchandak
Super User
Super User

@Anonymous , I think on x-axis you should be able to plot time.

You can create a time table and join both time's with it. and create one measure with userelationship where the relationship is inactive 

https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi

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.