Hi Rimmon,
Thanks for the help.
Something is not working with the Filter.
This formula using Filter, counts more rows than the second one, BUT there are more records to count:
ClearCollect(
MyCollection,
ShowColumns( AddColumns(
GroupBy(Filter(Inventory_ManagedDevices, !IsBlank(cr815_department)),"cr815_department","User"),
"Total",CountRows(User)),"cr815_department","Total"));
ClearCollect(
MyCollection,
ShowColumns( AddColumns(
GroupBy(Inventory_ManagedDevices,"cr815_department","User"),
"Total",CountRows(User)),"cr815_department","Total"));
My dataverse table has 3000 rows.
I did try to put a dataverse view (that filter the empty data) inside the formula, but it makes an error message.