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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Kushal_Chawda
MVP
MVP

Help to create logic

Dear All,

Need help. Please find the attched file for the logic

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this script

Data:

LOAD
AcctNo,
Date,
Type,
Amt,
Transaction
FROM
Test.xlsx
(
ooxml, embedded labels, table is Sheet1);

Inner join (Data)
LOAD
*
WHERE UniqueTransaction = 1;
LOAD
AcctNo,
Date,
Transaction,
Count(Distinct Amt) AS UniqueAmt,
Count(Transaction) AS UniqueTransaction,
Count(Distinct Type) AS UniqueType
Resident Data
Group By AcctNo,
Date,
Amt,
Transaction;

Hope it helps you.

Regards,

Jagan.

DROP FIELDS UniqueAmt, UniqueTransaction, UniqueType;