
Announcements
Hi all,
I've created a nice looking simple gantt chart in Power Apps to have an overview of our firm's projects. I've followed this great video and it's working well. Data is a SP list in my case.
I've got two issues:
If((Value(EndDays.Text) - Value(StartDays.Text)) * GanttProjects.Width / 365 > DateDiff(_StartDate, _EndDate), (Value(EndDays.Text) - 0) * GanttProjects.Width / 365,(Value(EndDays.Text) - Value(StartDays.Text)) * GanttProjects.Width /365)​where EndDays.Text is DateDiff(Date(2022,1,1), DateValue(_EndDate.Text))+1
_EndDate.Text is simple the End Date from the SP list
where StartDays.Text is DateDiff(Date(2022,1,1), DateValue(_StartDate.Text))+1
_StartDate.Text is simple the Start Date from the SP list
But for some of the projects in the gallery this doesn't work. Is there a way how to say that if they started before 1.1.2022 to make them appear like starting there and then just put the End Date to the correct position?
(Concat(
'Geographic impact',
Value,","
) in GeographicImpactCombobox.Selected.Value || GeographicImpactCombobox.Selected.Value = Blank())​