thank you all for your help, I'm quite sure your solutions work, it's just I got the needed support from another forum earlier and the code worked for me which is (for the reference):
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8k1MT8kvzcnMU9JRstA30jcyMDIEMoMzMtNKlGJ10BUYE1JgQkiBKSEFZoQUWBJSYGhAUIUhQRUEg8KQYFgYYvFKREVFBVDAHFtQw+WwmAyXwxLAcDkMj8cCAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, Date = _t, Schedule = _t]),
DateType = Table.TransformColumnTypes(Source,{{"Date", type date}}),
Grouped = Table.Group(DateType, {"Name"}, {{"Date", each List.Transform({Number.From( (Date.From(List.Min([Date]))))..Number.From( (Date.From(List.Max([Date]))))}, Date.From) }}),
"Expanded Gr" = Table.ExpandListColumn(Grouped, "Date"),
"ChangedType" = Table.TransformColumnTypes(#"Expanded Gr",{{"Date", type date}}),
"FINAL" = Table.AddColumn(ChangedType, "Schedule", each if Date.DayOfWeek([Date],Day.Monday) >4 then "Weekend" else "Shift")// or do a merge with Source table if you have some other condition
in