Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregation not happening in the backend

I have used the following code in order to get the maximum and minimum date at the following level: claim, provider, insurer

LOAD

claim,

provider,

insurer,

max(service_date),

min(service_date)

FROM desktop/claims/claims.qvd

group by claim,insurer,provider;

The grouping by is not happening and I am getting incorrect dates. Can anyone help me with this?

1 Reply
Anil_Babu_Samineni

What you mean by incorrect dates? Try this?

LOAD

claim,

provider,

insurer,

max(service_date) as MaxDate,

min(service_date) as MinDate

FROM desktop/claims/claims.qvd

group by claim,provider,insurer order by service_date ASC;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful