I'm using a data table in Power Apps to display the contents of a SharePoint text column so that it counts the numbers of each distinct entry. I create a collection with the following formula:
ClearCollect(Collection1,
AddColumns(
GroupBy('DataSource',"Column1","Rows"),
"RowCount",
CountRows(Rows)
)
)
Then I use Collection1 for the Items property of my data table.
Is there a similar way to count the contents of multiple SharePoint columns? I've tried something like GroupBy('DataSource', Sum("Column1"+"Column2"),"Rows") but that doesn't work.
Thank you!