Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have some code I am trying to change over from SQL to Qlikview and there is one part I am struggling with. Here is my script so far:
E1P_Count:
LOAD [Purchasing Document Number],[Item],[Assignment],
Count([Purchasing Document Number]&[Item]) as SingleAssignment,
If(Count([Purchasing Document Number]&[Item]) = 1,'SingleAssignmentFlag',
If(Count([Purchasing Document Number]&[Item]) > 1,'QtyDiffFlag')) as Flag
Resident E1P
GROUP BY [Purchasing Document Number],[Item],[Assignment],[Company Code];
I am using a HAVING clause in my SQL script...
HAVING
Count(SingleAssignment) > 1
How can I implement this into my Qlikview script?
That doesn't work for me. It gives me an Unknown Error. Can someone please show me where in my script to implement this?