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
Samruddhi_11
Helper I
Helper I

Is dual axis gantt chart possible in power BI?

Hii,

This is dual axis gantt chart in tableau. Can we implement same in power BI?

 

pd1.PNG

 

Please refer below datasets,

 

In tableau, on rows fields are record type A and record type B and on column fields are value 1 and value 2. that makes the dual axis gantt chart. is same possible in power BI? please suggest your ideas. Thanks!

 

1122

1 ACCEPTED SOLUTION

Hi @Samruddhi_11 

You can't use dual axis from two tables in power bi. I think you can rename original Type column as Category, add a Type column with "Type A/B" in two tables and append two tables as one. Try legend function in Power BI. 

My Sample:

A

1.png

Add a type column by custom column.

2.png

Do the sample step in Table B and Append two tables.

For reference: Append queries

New table looks like as below.

3.png

Result is as below.

4.png

Best Regards,

Rico Zhou

 

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

4 REPLIES 4
VahidDM
Super User
Super User

Hi @Samruddhi_11 

 

Please check these two visuals in Power BI:

 

Gantt Chart - xViz 

Gantt Chart 

 

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

Appreciate your Kudos VahidDM_0-1627547254286.png !!

Yeah thanks! @VahidDM . I have tried gantt chart but it is taking only one axis on row. But I wanted to have dual axis. Thanks.

Hi @Samruddhi_11 

You can't use dual axis from two tables in power bi. I think you can rename original Type column as Category, add a Type column with "Type A/B" in two tables and append two tables as one. Try legend function in Power BI. 

My Sample:

A

1.png

Add a type column by custom column.

2.png

Do the sample step in Table B and Append two tables.

For reference: Append queries

New table looks like as below.

3.png

Result is as below.

4.png

Best Regards,

Rico Zhou

 

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

 

Thanks!! @v-rzhou-msft 

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.