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! Learn more

Reply
Anonymous
Not applicable

Gantt chart by MAQ - fix the date range

I have variouse sets of data that I am displaying using the Gantt Chart by MAQ. each set has variouse max end dates and therefore the date ranges change for the bar chart. I would like to show the same date range for all charts regardless of the max date in the data being displayed. Is this possible at all?

5 REPLIES 5
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem sloved?
 
If it is sloved, could you kindly accept it as a solution to close this case?  
 
If not, please let me know.  
 
Best Regards
Icey
Anonymous
Not applicable

Hi Icey,

 

thanks for the reply. I think i have misled you in the wording of my problem. I have one data set. I need to display the Gantt chart on different pages (one for each department). Where the max or min dates for each department vary, the date range shown on the chart varies. I want to make them all the same. hope that is clearer!

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 

If so, you can try the method @Anonymous  provides.

 

Best Regards,

Icey

 

Icey
Community Support
Community Support

Hi @Anonymous ,

Maybe you can try these measures:

MaxEndDate =
MAX (
    CALCULATE ( MAX ( 'Table 1'[EndDate] ) ),
    CALCULATE ( MAX ( 'Table 2'[EndDate] ) )
)
MinStartDate =
MIN (
    CALCULATE ( MIN ( 'Table 1'[StartDate] ) ),
    CALCULATE ( MIN ( 'Table 2'[StartDate] ) )
)

Best Regards,

Icey

 

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

Anonymous
Not applicable

Hi @Anonymous 

Try creating a date table and then link it to your data tables in the model.

use the dates from the date table in the visuals

Cheers!
A

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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