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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply

Any ideas to create this kind of chart? - almost Gantt Chart

Hello,

i am loooking for insipration to create this kind of chart:

Jakub_Poweska11_0-1749800696221.png

Generally is similar to Gantt Chart, but instead of having time on X-axis, we have % of time spend ticket assigned to to particular time.

I tried create a normal Gantt Chart with custom visuals, but for my specific data, they are not exactly applicable and they are looking bad.

 

Regards,

 

Kuba

1 ACCEPTED SOLUTION
Rupak_bi
Super User
Super User

Hi @Jakub_Poweska11 ,

Here I have tried to replicate the sample data using Matrix.

Rupak_bi_0-1749817932060.png

Steps:

1. Add three new columns:

flag = switch('Table'[Assignment Group],"TEAM A",1,"TEAM B",2,"TEAM C",3,"TEAM D",4,"TEAM E",5)
CUM_second = CALCULATE(sum('Table'[Total Time in Second]),all('Table'),'Table'[Start]<=EARLIER('Table'[Start]))
Percentage = 'Table'[CUM_second]/max('Table'[CUM_second])

Rupak_bi_1-1749818131009.png

2. Now use matrix visual and configure as below:

Rupak_bi_2-1749818202802.png

3. Go to cell element, do conditional formatting for background and font colour with same logic

Rupak_bi_3-1749818300054.png

Now you will get the gantt chart.

Let me know if this works. If yes, plz accept as solution........

 

 



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

View solution in original post

4 REPLIES 4
Rupak_bi
Super User
Super User

Hi @Jakub_Poweska11 ,

Here I have tried to replicate the sample data using Matrix.

Rupak_bi_0-1749817932060.png

Steps:

1. Add three new columns:

flag = switch('Table'[Assignment Group],"TEAM A",1,"TEAM B",2,"TEAM C",3,"TEAM D",4,"TEAM E",5)
CUM_second = CALCULATE(sum('Table'[Total Time in Second]),all('Table'),'Table'[Start]<=EARLIER('Table'[Start]))
Percentage = 'Table'[CUM_second]/max('Table'[CUM_second])

Rupak_bi_1-1749818131009.png

2. Now use matrix visual and configure as below:

Rupak_bi_2-1749818202802.png

3. Go to cell element, do conditional formatting for background and font colour with same logic

Rupak_bi_3-1749818300054.png

Now you will get the gantt chart.

Let me know if this works. If yes, plz accept as solution........

 

 



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/
danextian
Super User
Super User

This is partly achievable with the native matrix visual - partly because you cannot merge the value cells. This may also require a considerable amount of development time. 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Rupak_bi
Super User
Super User

Hi @Jakub_Poweska11 ,

this can be achieved using a matrix visual in Power BI with required data modelling and measures. A sample data with expected result will help to workout.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Hey,

im sending a sample data for this case:

Assignment GroupStartEndBusiness Elapsed Time formatted from secondTotal Time in Second
TEAM A5/16/2025 9:535/16/2025 9:5805m:29s329
TEAM A5/16/2025 9:585/16/2025 14:3404h:32m:58s16378
TEAM A5/16/2025 14:345/16/2025 19:1404h:25m:07s16748
TEAM A5/16/2025 19:145/17/2025 0:10 17795
TEAM A5/17/2025 0:105/19/2025 3:4949m:44s185948
TEAM A5/19/2025 3:495/19/2025 5:1501h:25m:32s5132
TEAM B5/19/2025 5:155/19/2025 9:5404h:39m:08s16748
TEAM A5/19/2025 9:545/19/2025 10:2228m:21s1701
TEAM B5/19/2025 10:225/19/2025 12:3902h:17m:12s8232
TEAM C5/19/2025 12:395/20/2025 9:4913h:09m:53s76193
TEAM A5/20/2025 9:495/20/2025 11:5002h:00m:48s7248
TEAM B5/20/2025 11:505/20/2025 13:4101h:51m:19s6679
TEAM A5/20/2025 13:415/20/2025 14:2038m:09s2289
TEAM D5/20/2025 14:205/21/2025 20:0720h:39m:54s107224
TEAM A5/21/2025 20:075/22/2025 9:4706h:47m:33s49223
TEAM D5/22/2025 9:475/23/2025 12:0618h:19m:02s94742
TEAM A5/23/2025 12:065/23/2025 12:4639m:46s2386
TEAM E5/23/2025 12:465/23/2025 12:5508m:59s539
TEAM E5/23/2025 12:555/26/2025 8:4411h:49m:08s244148
TEAM B5/26/2025 8:445/27/2025 9:5417h:10m:04s90604
TEAM E5/27/2025 9:545/27/2025 11:3301h:38m:41s5921
TEAM B5/27/2025 11:335/27/2025 14:3903h:05m:54s11154
TEAM A5/27/2025 14:395/27/2025 15:1738m:26s2306
TEAM E5/27/2025 15:175/27/2025 15:5437m:04s2224
TEAM B5/27/2025 15:546/4/2025 12:113 days 20h:17m:09s677829
TEAM B6/4/2025 12:11 2 days 14h:52m:08s514328

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.