Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey,
How can we use Having clause (SQL Equivalent) along with Groupby in QlikView?
Thanks
I think you should be able to use Where Statement.
You may need a preceding load or a two step load to perform a HAVING equivalent.
For example: SQL
SELECT ID, Sum(Amount) As SumAmount
FROM Table1
GROUP BY ID
Having Sum(Amount) > 0
Qlikview
LOAD ID, SumAmount
Where SumAmount > 0
;
LOAD ID, Sum(Amount) As SumAmount
FROM Table1.xlsx
GROUP BY ID;
Hey,
but where isn't equivalent to having because we can use where groupby having in sql. So, is it exists() ?