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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Nivethan
New Member

I want to display data on Gantt chart only next 30 days from today date? Not all of them.

Adding a Gantt chart to my report. I want it to display only the tasks scheduled within the next 30 days from today. Currently, the chart includes all data, but I would like to limit it to just one month. Do you have any suggestions on how I can define this 30-day window?

Nivethan_1-1714147279157.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Nivethan 

 

For your question, here is the method I provided:

 

Here's some dummy data

 

"Table"

vnuocmsft_0-1714355422857.png

 

Create new columns showing the next 30 days from today.

 

_Start Date = IF(TODAY() >= 'Table'[start date], TODAY(), 'Table'[start date])

 

_End Date = IF(TODAY() + 30 >= 'Table'[end date], 'Table'[end date], TODAY() + 30)

 

Create a Gantt chart and put in new date columns.

 

vnuocmsft_1-1714355663357.png

 

Here is the result.

 

vnuocmsft_2-1714355790797.png

 

Regards,

Nono Chen

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

1 REPLY 1
Anonymous
Not applicable

Hi @Nivethan 

 

For your question, here is the method I provided:

 

Here's some dummy data

 

"Table"

vnuocmsft_0-1714355422857.png

 

Create new columns showing the next 30 days from today.

 

_Start Date = IF(TODAY() >= 'Table'[start date], TODAY(), 'Table'[start date])

 

_End Date = IF(TODAY() + 30 >= 'Table'[end date], 'Table'[end date], TODAY() + 30)

 

Create a Gantt chart and put in new date columns.

 

vnuocmsft_1-1714355663357.png

 

Here is the result.

 

vnuocmsft_2-1714355790797.png

 

Regards,

Nono Chen

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 Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors