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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem transforming group by script in QV expression

Hello everyone,

I have a problem with the following SQL code...

I must transform it into the expression language, and I don't know how this can be done...

Please help me with this.

select count(distinct a.claimid)

FROM Dauna a INNER JOIN

(select ClaimId, Max(ReportingDate) ReportingDate

FROM Dauna

WHERE ReportingDate<= '20111231' GROUP BY ClaimId) b ON a.ClaimId = b.ClaimId AND a.ReportingDate= b.ReportingDate

WHERE a.RezervaRamasa != 0

0 Replies