Skip to main content

Hi everyone,

 

we want to restrict access to users for a dashboard. Therefore we match the user_name() to an uploaded excel.

 

But since some users should see whole regions and others just single plants we want to adapt the dimension based on the excel input.

 

To make it more understandable:

 

FILTER VBAP.WERKS =

(CASE WHEN EXCEL.EMAIL= USER_NAME() THEN EXCEL.WERKS)

 

This is working fine. However making the "VBAP.WERKS-part variable doesn't work yet.

 

(CASE WHEN EXCEL.EMAIL = USER_NAME ( ) AND ISNULL(EXCEL.WERKS) = 0 THEN EXCEL.WERKS' ELSE 'EXCEL.REGION' END)

 

So the idea is that this also leads to: FILTER VBAP.WERKS = EXCEL.WERKS

 

Does anyone have an idea how I have to adapt the part that chooses the dimension?

 

Best regards

Aram

Hi Aram,

 

Within Celonis you have a built-in option to set data permissions loaded from a table, see Loading data permissions from permission tables (celonis.com). In the documentation, it states that data permissions can also be combined: Combining data permissions (celonis.com). This might be the answer for your use case if I understood it correctly.

You might to restructure your Excel a bit accordingly to this solution, but that should be feasible in Excel or using a data transformation.

 

Best regards,

Jan-peter


Reply