Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Section access not working (Access denied)

Hi,

I have a question,

I have a section access table like this:

ACCESSDISPLAYNAMEOPERATIONREGIONAREANTNAME
USERAndy**AJKaa\andy
USERDony*BDS*aa\dony

And I have data table like this:

OPERATIONREGIONAREASALES
ASAHKAJK1000
BSRLLLPP100

I load the section access table like this:

SECTION Access;

Access:

LOAD

     upper(ACCESS) as ACCESS,

     NTNAME as NTNAME,

     upper(DISPLAYNAME) as DISPLAYNAME,

     OPERATION,

     REGION,

     AREA

FROM

............

SECTION Application;

Sales:

LOAD

OPERATION,

REGION,

AREA,

SALES

FROM

....................

But when i login as Andy (NTNAME), the pop up error appeared (ACCESS DENIED).

Anybody has the idea ?

The result i expect is ANDY can only see this data (AREA AJK):

PERATIONREGIONAREASALES
ASAHKAJK

1000

Thanks in advance.

7 Replies
vardhancse
Specialist III
Specialist III

Hi,

* may not work always. once can please try to give all the operation and region complete names

Anonymous
Not applicable
Author

Hi, thanks for the answer,

I've try to concate with my complete data like this.

SECTION Access;

Access:

LOAD

     upper(ACCESS) as ACCESS,

     NTNAME as NTNAME,

     upper(DISPLAYNAME) as DISPLAYNAME,

     OPERATION,

     REGION,

     AREA

FROM

............

conctenate (Access)

LOAD distinct  ------> this one is from data table.

OPERATION,

REGION,

AREA

I'm using * in order to access all operation or region defined.

Thanks.

Really need your help.

Anil_Babu_Samineni

Access denied means, might be services problem. Have you checked is there all services are running or not.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tresesco
MVP
MVP

Try upper() for NTNAME as well like:

Upper(NTNAME) as NTNAME,

vardhancse
Specialist III
Specialist III

as tresesco‌ said make sure all the fields and data was in upper.

And instead of distinct just enter one record and see.

This is some thing authorization, how you are managing authentication to access point

Not applicable
Author

Hi,

All the data within the section access must be in uppercase... So make sure everyting is in uppercase.

Thanks

Not applicable
Author

When I first started using Section Access I did not realized you had to save the QlikView document. Then completely close the QVW and reopen it before the changes took affect.

I assuming you are following these steps, but just wanted to make sure.

- Stan