Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Supplier provided service once

Hello all! Please help to construct a straight table with dimensions of supplier and service and expression of sum of purchases for those suppliers who provided service only once.  The table has been attached.

Labels (2)
1 Reply
Highlighted
Specialist III
Specialist III

May be this:

SCRIPT:

SupplierService:
LOAD Supplier,
Service,
[sum(Сумма)]
FROM
[C:\Users\u953550\Downloads\Supplier Service.xlsx]
(ooxml, embedded labels, table is Sheet1);

SupplierServicedOnce:
LOAD *
WHERE Flag = 1;
LOAD Supplier,
COUNT(Service) AS Flag
Resident SupplierService
Group By Supplier;

 

CHART:

//Dimension

Supplier

//Expression

Count({<Flag={1}>}Service)