Deleted post
Hi @s44 ,
This seems like a duplicate of https://powerusers.microsoft.com/t5/Building-Power-Apps/Add-the-days-of-the-week-corresponding-to-the-events-on-a-Gantt/m-p/1699377. I'll get back to you in that topic, but please close this one.
lblItemName
Text : ThisItem.Usine
X :lblIndicator.X + lblIndicator.Width
lblIndicator
Width : (Value(
DateDiff(
Date(
Year(Now());
1;
1
);
ThisItem.DateFin
) + 1
) - Value(
DateDiff(
Date(
Year(Now());
1;
1
);
(ThisItem.DateArrivee + 1)
)
)) * (galBodyMonths.Width / 365)
X : Value(
DateDiff(
Date(
Year(Now());
1;
1
);
ThisItem.DateFin
) + 1
)* (galBodyMonths.Width / 365)
lblMonthName
Text : Switch(ThisItem.Value; 1; "January"; 2; "February"; 3; "March"; 4; "April"; 5; "May"; 6 ;"June"; 7 ; "July"; 8 ;"August"; 9; "September"; 10; "October"; 11; "November"; 12; "December")
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional