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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
kattlees
Post Patron
Post Patron

Gantt Chart by Day of Week

I have been asked to create a gantt chart to go by day of  the week. What we are looking for is to show how many days a guest stays based on the day of the week they arrive and type of surgery.

 

So in the graphic below - those people admitted on Monday that have surgery 1 have an average stay of 3 days. If the same surgery on Wednesday, their average stay is 2 days.

If they have surgery 2 and arrive Monday, their average stay is 4 days and if they have the same surgery on Thursday, they also stay 4 days.

 

They really want it in this gantt format and not in a matrix. Is this possible?

gantt-example.jpg

 

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi kattlees,

Based on my test, I find that there is no grant chart could achieve this goal currently. You could use “Gantt Chart By MAQ”  from market, you will get below result

 

152.png

Data sample might be similar to below, create two measures

Measure 4 = MIN(gantt[ds])

Measure 3 = MIN(gantt[ds])+MIN(gantt[days])-1

153.png

Best Regards,

Zoe Zhi

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
RDHR
Frequent Visitor

hi kattlees, were you able to create the room schedule dashboard? Would you please share the sample dashboard with me?  Thanks!!

dax
Community Support
Community Support

Hi kattlees,

Based on my test, I find that there is no grant chart could achieve this goal currently. You could use “Gantt Chart By MAQ”  from market, you will get below result

 

152.png

Data sample might be similar to below, create two measures

Measure 4 = MIN(gantt[ds])

Measure 3 = MIN(gantt[ds])+MIN(gantt[days])-1

153.png

Best Regards,

Zoe Zhi

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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