let
    Source = Financials,
    #"Removed Other Columns" = Table.SelectColumns(Source,{"tag", "uom", "report", "line", "value", "adsh", "stmt", "fy", "cik", "date"}),
    #"Changed Type" = Table.TransformColumnTypes(#"Removed Other Columns",{{"line", Int64.Type}, {"report", Int64.Type}, {"value", type number}, {"fy", type number}, {"date", type date}}),
    #"Sorted Rows" = Table.Sort(#"Changed Type",{{"adsh", Order.Ascending}, {"stmt", Order.Ascending}, {"report", Order.Ascending}, {"line", Order.Ascending}}),
    #"Removed Other Columns1" = Table.SelectColumns(#"Sorted Rows",{"tag", "report", "line", "stmt"}),
    #"Filtered Rows" = Table.SelectRows(#"Removed Other Columns1", each [stmt] = "CF"),
    #"Removed Duplicates" = Table.Distinct(#"Filtered Rows")
in
    #"Removed Duplicates"