let
Source = Excel.CurrentWorkbook(){[Name="Tab_Rapport"]}[Content],
#"Type modifié" = Table.TransformColumnTypes(Source,{{"Item", type text}, {"ID", type text}, {"Rev", type text}, {"Name", type text}, {"Creation Date", type datetime}, {"Item Rev", type text}, {"Status", type text}, {"WF", type datetime}, {"Current", type text}, {"Responsible", type text}, {"Completion", type datetime}, {"Sign", type text}, {"role", type any}, {"Decision", type text}, {"Decision Date", type text}, {"Comments", type text}}),
#"Colonnes supprimées" = Table.RemoveColumns(#"Type modifié",{"Item", "Creation Date", "Item Rev", "Status", "Current", "Responsible", "Completion", "Decision Date"}),
#"Texte en majuscules" = Table.TransformColumns(#"Colonnes supprimées",{{"ID", Text.Upper, type text}}),
#"Lignes filtrées" = Table.SelectRows(#"Texte en majuscules", each ([Decision] = "Ouvr")),
#"Lignes filtrées1" = Table.SelectRows(#"Lignes filtrées", each not Text.StartsWith([ID], "FH") and not Text.StartsWith([ID], "HM") and not Text.StartsWith([ID], "HA")),
#"Lignes triées" = Table.Sort(#"Lignes filtrées1",{{"Sign", Order.Ascending}})
in
#"Lignes triées"