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

Section Access/Application using a *

Hi All,

Below is my section access/application script.

I want NTNAME B to see all the dashboard.

When I use this, i get no data in it.

Why * does not work in this case.

SECTION Access;
LOAD * INLINE [
    ACCESS, NTNAME
    ADMIN, A
    USER, B
    USER, C
];

SECTION Application;
LOAD * INLINE [
    NTNAME, DASHBOARD
    A, sales.qvw
    A, finance.qvw
    B, *
    C, sales.qvw
];

Thanks

Ren

1 Solution

Accepted Solutions
sunilkumarqv
Specialist II
Specialist II

star *

SECTION Access;
LOAD * INLINE [
    ACCESS, NTNAME
    ADMIN, A
    USER, B
    USER, C
];

SECTION Application;
LOAD * INLINE [
    NTNAME, DASHBOARD
    A, sales.qvw
    A, finance.qvw
    B, <ALL>
    C, sales.qvw
];

or

STAR is *;

SECTION Access;
LOAD * INLINE [
    ACCESS, NTNAME
    ADMIN, A
    USER, B
    USER, C
];

SECTION Application;
LOAD * INLINE [
    NTNAME, DASHBOARD
    A, sales.qvw
    A, finance.qvw
    B, *
    C, sales.qvw
];

View solution in original post

13 Replies
sinanozdemir
Specialist III
Specialist III

Hi Renjith,

Try blank instead of *:

LOAD * INLINE [

    NTNAME, DASHBOARD

    A, sales.qvw

    A, finance.qvw

    B

    C, sales.qvw

];


Hope this helps.

renjithpl
Specialist
Specialist
Author

I have tried using blank, dint work.

sinanozdemir
Specialist III
Specialist III

I edited it, don't use comma after B at all.

LOAD * INLINE [

    NTNAME, DASHBOARD

    A, sales.qvw

    A, finance.qvw

    B

    C, sales.qvw

];

sinanozdemir
Specialist III
Specialist III

You may also need to use upper letters for the dashboard names as well.

renjithpl
Specialist
Specialist
Author

tried all, nothing seems to be working

jonathandienst
Partner - Champion III
Partner - Champion III

There's no special meaning for * in the Section Application part of the script.

What are you trying to achieve?

Do you want to map B to all 3 file names?

What are you doing with these file names?


Perhaps this is what you need:


Section Application;

T_Dashboards:

LOAD * INLINE [

    NTNAME, DASHBOARD

    A, sales.qvw

    A, finance.qvw

    B, *

    C, sales.qvw

];

Dashboards:

LOAD NTNAME

Resident T_Dashboards

Where DASHBOARD = '*';

Join (Dashboards)

LOAD Distinct DASHBOARD

Resident T_Dashboards

Where DASHBOARD <> '*';


Concatenate (Dashboards)

LOAD NTNAME, DASHBOARD

Resident T_Dashboards

Where DASHBOARD <> '*';

DROP Table T_Dashboards;

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
renjithpl
Specialist
Specialist
Author

Hi Jonathan,

My dimension table has the filed "dashboard names" with values sales.qvw, finance.qvw.....

I want user B to view all the values, i thought using * will help. But when I am reducing the data and when USER B opens the document he can only nothing other than "*".

thanks


Anonymous
Not applicable

Try:

B, app1

B, app2

B, app3

like this. * does not work like you specified in section access. I had same experience on field level.

jagan
Luminary Alumni
Luminary Alumni

HI,

Try like this

SECTION Access;

Security:
LOAD * INLINE [
    ACCESS, NTNAME
    ADMIN, A
    USER, B
    USER, C
];

LEFT JOIN (Security)

LOAD *

INLINE [

    NTNAME, DASHBOARD

    A, sales.qvw

    A, finance.qvw

    B, *

    C, sales.qvw

];

SECTION Application;

App_Data:
LOAD

DISTINCT DASHBOARD

INLINE [
    DASHBOARD
   sales.qvw
    finance.qvw
   sales.qvw
];

Hope this helps you.

Regards,

Jagan.