Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
alexlinkreit17
Contributor
Contributor

Retrieve value based on region, permission and user selection

Hi all,

I have 2 set of data, one is region with user permission, another one is KPI per region / country / city

Hierarchy for location:

+-- North America

| +-- USA

| | +-- New York

| | +-- Boston

| +-- Canada

| | +-- Vancouver

| | +-- Toronto

Permission

NTNAMEROLE
MA1*
MA2New York
MA2Boston
MA2Toronto
MA3Vancouver

KPI

LVKPI
New York1.5
Boston1.2
USA1.8
Vancouver1.3
Toronto1.7
Canada1.6
North America2.0

I want to retrieve the KPI based on the user selection and their permission, which is

MA1

     - When select nothing: KPI = 2.0

     - When select USA: KPI = 1.8

     - When select Boston: KPI = 1.2

     - When select both Boston and New York: KPI = 1.8 (USA)

MA2

     - When select nothing: KPI = 1.8 (USA, second level of hierarchy)

MA3

     - When select nothing: KPI = 1.3 (Vancouver, third level of hierarchy)

Is it possible to do in QlikView?

Thanks in advance

0 Replies