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

Data Reduction/Section Access - data access/presentation issue

I implemented Section Access so that the salesperson can only see his/her sales.  We use SALESNO (Salesperson ID)as the field to reduce access.

We have sales that are split sometimes up to 4 ways.  Data for a sale might look like this

OrderNoSalesNoPercentSales $
Sales Credit
100110010001000
2001501000500
2002501000500
3002252000500
30045020001000
3007252000500

Problem:  With Section Access, in the split sales the Salesperson would only see his/her portion of the sale.  This is fine if you are analyzing Sales by Salesperson.  

What if you are analyzing Customer Sales or Product Sales? The salesperson will only see their percentage contribution to that sale.   In this example, we would want sum up the complete sale regardless of salesperson while still restricting access

1 Solution

Accepted Solutions
Not applicable
Author

I reworked my data model and made a new table with KEY and SalesNo as SECLINK - this separated from the Percent calculation appears to have done the trick.   Not sure why i was overthinking it?

View solution in original post

3 Replies
adamdavi3s
Master
Master

Hi Cam,

I had a similar requirement and it is not easy to deal with.

In the end I created a dummy field which is a copy of SalesNo but NOT linked to it so say just a field called 'Access Code'

Then don't use the data reduction option, but use set analysis like:

SalesNo={concat(Access Code,',')}

(Sorry I don't recall the exact syntax off the top of my head)

Its a proper faf, but at least it then allows you to do the kind of comparitors that you want.

avinashelite

one way to handle this is , create a separate which is disconnected from the model and use this table for the customer sales analysis ...

Not applicable
Author

I reworked my data model and made a new table with KEY and SalesNo as SECLINK - this separated from the Percent calculation appears to have done the trick.   Not sure why i was overthinking it?