Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a table with Lists for each row and I would like to count the number of elements that each List has, see image:
= Table.Group(#"Filtered Rows", {"OpportunityId"}, {{"Count", each List.Distinct([LoB]), type nullable Int64.Type}})
Thank you,
Guillermo
Solved! Go to Solution.
if you need only the count of distinct [Lob]element of groups, change the expression in this way
= Table.Group(#"Filtered Rows", {"OpportunityId"}, {{"Count", each List.Count(List.Distinct([LoB])), type nullable Int64.Type}})
if you need only the count of distinct [Lob]element of groups, change the expression in this way
= Table.Group(#"Filtered Rows", {"OpportunityId"}, {{"Count", each List.Count(List.Distinct([LoB])), type nullable Int64.Type}})