Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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?
Hi @Anonymous ,
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!
Hi @Anonymous ,
If so, you can try the method @Anonymous provides.
Best Regards,
Icey
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.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
126 | |
78 | |
78 | |
59 | |
51 |
User | Count |
---|---|
165 | |
83 | |
68 | |
68 | |
59 |