Hi All,
I need to create a lobby element which shows not cerated external customer invoice load IDs per company in last 10 days.
I started with a Projection type datasource.
Projection: ExternalCustomerInvoiceLoadInformationHandling
Filter: (LoadDate gt #TODAY#-10) and ExtOutInvLoadState ne IfsApp.ExternalCustomerInvoiceLoadInformationHandling.ExtOutInvLoadState'Created'
It works upto here.
I need to show the no of load ids per company.
the group by condition I need to use is: ((Company),aggregate($count as LoadIdCount))
URL would be:
.../main/ifsapplications/projection/v1/ExternalCustomerInvoiceLoadInformationHandling.svc/ExtOutInvLoadInfoSet?$apply=filter((LoadDate%20gt%202026-08-31)%20and%20ExtOutInvLoadState%20ne%20IfsApp.ExternalCustomerInvoiceLoadInformationHandling.ExtOutInvLoadState%27Created%27)/groupby((Company),aggregate($count%20as%20LoadIdCount))
URL is giving correct results but the datasource designer gives an error with the aggregate. It seems like the aggregate is not supported? Is there any other way to do this?

Cloud version 25R2 SU8

