Forum Discussion

EaglesTony's avatar
EaglesTony
Post Prodigy
2 years ago
Solved

How do I add a filter to a Table.AggregateTableColumn

hi,     I have the following, which is working as expected: = Table.AggregateTableColumn(#"Merged Queries1", "Expanded AgileTeams", {{"Parent", List.Count, "Count of Expanded AgileTeams.Parent"}})...
  • SamWiseOwl's avatar
    SamWiseOwl
    2 years ago
    Done Employee Count =
    var curParent = [Parent]

    var final =

    COUNTROWS(FILTER('Check Table'[Parent] = curParent && 'Check Table'[Status] = "Done" && [Parent] <> BLANK()))
     
    Return 
    If(Final = BLANK(), 0, Final)