Hi Massimo,
There are two types of sum functions. One is if you select members and then create calculation and then sum. This creates a hard coded calculation using the base ID (not an alias) and will return the same total all the time. The other is if you select an entire dimension in a row or column using the double lines and then right click and choose subset calculation.
This calculations lets you choose a subset, and should return different results for the total based on what the user can see in the set.
Did the help?
------------------------------
Scott Brown
------------------------------
Original Message:
Sent: Mon August 22, 2022 05:41 AM
From: Massimo Deambrogio
Subject: workspace "summarize all" function with set of members with per-user authorization
Hi Kong,
thanks for help me.
I have the problem with version 72 and 77.
I created a view with the set at level 0, then I used the sum function,
the value that the function returns is always the total of all members, not just those displayed due to user permissions.
the summarize function works only if I select some member and click Keep.
Massimo
Original Message:
Sent: 8/11/2022 12:38:00 PM
From: Kong Intrasinghathong
Subject: RE: workspace "summarize all" function with set of members with per-user authorization
Hi Massimo,
I use the summarize function in PAW and it sums only the visible members. I am running PAW 2.0.78.
Please see the screenshots from my laptop below. If your setup is different, please let me know and I will try recreate the issue.
Best regards,
Kong
------------------------------
Kong Intrasinghathong
Master Consultant
QueBIT Consulting
Analyze. Plan. Achieve.
https://quebit.com
Original Message:
Sent: Wed July 27, 2022 12:13 PM
From: Massimo Deambrogio
Subject: workspace "summarize all" function with set of members with per-user authorization
I created a view, where in the rows I expose the members at level zero, then I used the workspace function of "summarize" to create a total, dynamic based on the displayed members. my problem is: when connecting a user who is only allowed to see some members, the summarize function does the total on all members and not just on those displayed. is it an error of the summarize function or is there some other way to get the dynamic total on displayed members based on permissions? thank you
example
|member|autorization|
--------------------
|AGE1 |Group1 |
|AGE2 |Group1 |
|AGE3 |Group2 |
|AGE4 |Group2 |
view created by admin
|member | SALES |
----------------------
|AGE1 |10 |
|AGE2 |10 |
|AGE3 |10 |
|AGE4 |10 |
----------------------
|Calc Total |40 | the Calc total use the workspace function summarize aggregate
login with user of Group1
|member | SALES |
----------------------
|AGE1 |10 |
|AGE2 |10 |
----------------------
|Calc Total |40 | the Calc total use the workspace function summarize aggregate
I expect 20
------------------------------
Massimo
------------------------------
#PlanningAnalyticswithWatson