Forum Discussion
twitchingdog
6 years agoNew Member
Power BI Query: Identify Parent record with qualifying Child records
Hi All - Looking for some assistance with Query or filter Issue: I have a child TABLE A with a Direct relationship to PROJECT table. I want to filter TABLE A to ONLY show projects that have NO ch...
Anonymous
6 years agoNot applicable
Hi twitchingdog ,
Using Table.Group and List.NonNullCOunt:
#"Grouped Rows" = Table.Group(Source, {"ProjectID"}, {{"Count", (t as table)=>List.NonNullCount(t[Status]), type number}}),
#"Filtered Rows" = Table.SelectRows(#"Grouped Rows", each ([Count] = 0))You are interested in rows that have zero NonNullCount.
Kind regards,
JB