Forum Discussion

ScholesBI's avatar
ScholesBI
Frequent Visitor
4 years ago
Solved

Format End date in Gantt Chart

Hi,

 

In my gantt chart I want to have the end date visible. So I added the end date values to my gantt chart.

However I am not able to change the date format to a shorter version although the date itself is formateed as a short date.

How can I change the date format in gantt chart?

 

 

 

Thanks,

 

Leon

 

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi ScholesBI 

    You cannot change date format in visual formatting . But you can create a calculated column to change the date format to a shorter version and then add the calculated column to Gantt chart .

    Column = FORMAT(Table1[End Date],"YYYY-MM")

    You can also change the Font Size and Width in visual formatting .

    I have attached my pbix file , you can refer to it .

     

    Best Regards

    Community Support Team _ Ailsa Tao

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

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ScholesBI 

    You cannot change date format in visual formatting . But you can create a calculated column to change the date format to a shorter version and then add the calculated column to Gantt chart .

    Column = FORMAT(Table1[End Date],"YYYY-MM")

    You can also change the Font Size and Width in visual formatting .

    I have attached my pbix file , you can refer to it .

     

    Best Regards

    Community Support Team _ Ailsa Tao

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

  • ScholesBI's avatar
    ScholesBI
    Frequent Visitor

    Many thanks for your help. This looks like the solution I am looking for!