Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kushal_Chawda

Help to create logic

Dear All,

Need help. Please find the attched file for the logic

2 Replies
Gysbert_Wassenaar

See attached example.


talk is cheap, supply exceeds demand
jagan
Luminary Alumni
Luminary Alumni

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;