Limiting drop down values by user using MDX

Post Reply
M1ndbender
Posts: 30
Joined: Mon Jul 19, 2021 2:15 pm
OLAP Product: TM1
Version: 2.0.0
Excel Version: 365

Limiting drop down values by user using MDX

Post by M1ndbender »

I am wondering if it is possible and if so how you could use MDX to limit the values returned in a drop down by the user logged in.

User opens a TM1Web data entry form and has to enter data for 4 companies they are responsible for. Currently when they select the drop down they see all the companies in the system.

Is there a way to use MDX so that they would only see the companies that they are aligned to. We align the user to the companies in a cube and then push the security using a process to assign with read or write access to the companies.

Any insight would be appreciated
Wim Gielis
MVP
Posts: 3223
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Limiting drop down values by user using MDX

Post by Wim Gielis »

If you push the security with a process, then why don’t you have element security on the elements in the picklist ?
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
MarenC
Regular Participant
Posts: 432
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Limiting drop down values by user using MDX

Post by MarenC »

Hi,

I presume the security process already applies the element security?

But if the process applied either Read or Write then they would all show in the picklist. There was no mention anyone was given NONE access.

Assuming you want everyone to have read or write access, then you could put an attribute against the company for the responsible user and build the MDX based on this.

Maren
Post Reply