Using the API this is as simple as adding this query param
?$apply=groupby((mysol_myfield),aggregate($count as count))
But trying to do some work using the Power Apps power query bar results in multiple calls, fetching the whole table, ordering, sorting etc.
This only returns a max since it is done client side. ( set at 2000 for my app )
Is there a way to either:
- Do a Power Query that works the same way, that results in the simple api call.
- Just straight up do the API call from Power Apps.