Sum values based on another distinct field for certain period
Hi
I need to create a KPI that details the total (sum) amount of land (in Acres) that we have used.
I have 2 tables that I will need to use - Deliveries and Fields.
I need to sum the total area of land (acres) for each field that has received a delivery. But I also need to make sure I only count each field's acres only once, as one field could have many deliveries. I also need to do this for certain periods (last 30 days, last 12 months etc.)
In plain English - the expression will need to be something like -
Sum Acres for each distinct fields that have received a Delivery, for the last X days.
I tried the below expression and it has returned a value but I'm not sure it's correct.