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: 
curiousfellow
Specialist
Specialist

Detailed dimension or total based on user

In my authorisation-table some people are authorized for the same dimension.

I want to show detailed dimension based on username, otherwise the dimensions should be presented with the text "Total not authorized".

In included qvw details are shown for the selected user, however the line "Total not authorized" include some values which are in the detailed information too, because an other user is authorized to some same dimensions. So the sum of the rules is not equal to the grand total.

How to prevent that the the detailed records are not included in the "Total not authorized" line

 

 

1 Solution

Accepted Solutions
edwin
Master II
Master II

Look at Henric's blog on section access re detailed and aggregated data - which sounds like what you need

Data Reduction – Yes, but How? - Qlik Community - 1463051

 

View solution in original post

3 Replies
edwin
Master II
Master II

Look at Henric's blog on section access re detailed and aggregated data - which sounds like what you need

Data Reduction – Yes, but How? - Qlik Community - 1463051

 

curiousfellow
Specialist
Specialist
Author

Allthough Henric advices to use two seperate applications it seems to be possible to use Aggregation-level access .

I have to investigate how to use that, was not aware of that possiblility.

edwin
Master II
Master II

at the end of the day, what you really need is just association between your user's IDs and the specific rows you want them to access.  now if you have a fact with concatenated detail and aggregations there should be a way to associate the IDs to the rows you want them to have:

USERID1 - Detail1
USERID2 - Detail2
USERID3 - Detail3
USERID1 - AGGR OF Detail1 and Detail2
USERID2 - AGGR OF Detail1 and Detail2
USERID3 - AGGR of Detail3

this means each user can only see their individual details, but Users 1 and 2 share the same AGGR and user3 has exclusive on AGGR3. 

this will not work if your AGGR is in a separate table and your section access is linked only to the detail table. 

it will work if your detail and AGGR are  concatenated into one fact table or the detail and aggr tables are linked and your section access is on the link table.