Ultimate Long TM1 quiz

Mark RMBC
Community Contributor
Posts: 296
Joined: Tue Sep 06, 2016 7:55 am
OLAP Product: TM1
Version: 10.1.1
Excel Version: Excel 2010

Re: Ultimate Long TM1 quiz

Post by Mark RMBC »

Hi,

I have not used this myself but I believe you enter the relevant directories, separated by a comma in the cfg file, like so,

DatabaseDirectory="c:\tm1dims;c:\tm1cubes"

The documentation stresses that this does the following:
Accesses cubes and dimensions from each of the specified directories. If there is a duplicate object, Cognos TM1 accesses the object from the first directory specified.
Writes changes to the directory where the object is located. When you create a new object, Cognos TM1 writes to the first directory you had specified.
Therefore, you may want to for example, place the dimensions in the tm1dims directory and the cubes in the tm1cubes directory.

I suppose the use case for this is simply for structure and manageability.
I would certainly need to see a stronger use case than the above to actually ever use this.

regards,

Mark
lotsaram
MVP
Posts: 3687
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Ultimate Long TM1 quiz

Post by lotsaram »

Elessar wrote: Fri Aug 09, 2024 2:37 pm You can list multiple data directories (yes, you can: https://www.ibm.com/docs/en/planning-an ... irectory-1) for DataBaseDirectory parameter in tm1s.cfg file. How does it work? How can you use it?
Multiple database directories was great way back when. It was quite useful for segregating common objects like TI libraries or common utility cubes where the definition was shared across multiple instances in a larger corporate TM1 landscape. These days it is just a trivia question. No one uses this anymore now that we have git.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Correct answer:

In addition to official documentation:
  1. Files are created in the 1st directory. After you move them to another directory, they are updated there.
  2. Use a separate folder for *.rux and *.pro files in your favorite version control system
There is a great explanation of this by mce here: viewtopic.php?f=3&t=13425&p=66007&hilit ... ion#p66007

Winner of this round is Mark RMBC!

@Lotsaram: Totally agree, but I think <5% companies could beat this Tm1+git integration yet. Approach with a separate "for code" folder and non-git version control still exists in many projects.

Question #33:
Administrator wants to launch a huge 3-hour-long data copy process. He has informed users not to change any data so that they do not interrupt the process, but still there is no guarantee. How can he prevent all users from interrupting the process?
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
MarenC
Regular Participant
Posts: 405
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Ultimate Long TM1 quiz

Post by MarenC »

Hi,

Please tell me you are not thinking of,

EnableBulkLoadMode

I just don't trust this process!

Maren
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Is it your answer? ;)
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
MarenC
Regular Participant
Posts: 405
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Ultimate Long TM1 quiz

Post by MarenC »

Hi,
Elessar wrote: Fri Aug 16, 2024 4:20 pm Is it your answer?
Yes, I guess it is.

Maren
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Any other approaches?

Bulk Load is a nuke
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
Emixam
Regular Participant
Posts: 151
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: Ultimate Long TM1 quiz

Post by Emixam »

You can make all users read only using the }ClientProperties and put a 1 under ReadOnlyUser but it will prevent them from doing input on other cubes that are not impacted by this data load.

Another option could be: lock the cube (}CubeProperties) and use CubeLockOverride(1) in your TI and allow writing to a locked cube
ardi
Community Contributor
Posts: 162
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Ultimate Long TM1 quiz

Post by ardi »

Elessar wrote: Fri Aug 16, 2024 3:29 pm Correct answer:

In addition to official documentation:
  1. Files are created in the 1st directory. After you move them to another directory, they are updated there.
  2. Use a separate folder for *.rux and *.pro files in your favorite version control system
There is a great explanation of this by mce here: viewtopic.php?f=3&t=13425&p=66007&hilit ... ion#p66007

Winner of this round is Mark RMBC!

@Lotsaram: Totally agree, but I think <5% companies could beat this Tm1+git integration yet. Approach with a separate "for code" folder and non-git version control still exists in many projects.

Question #33:
Administrator wants to launch a huge 3-hour-long data copy process. He has informed users not to change any data so that they do not interrupt the process, but still there is no guarantee. How can he prevent all users from interrupting the process?
We have a control cube where we maintain some flags. One of the Flags is to make all users Read Only (A rule in }ClientProperties populates the ReadOnlyUser measure for all users )
The other Flag is to disable the users completely ( A rule in }ClientProperties populates the IsDisabled measure for all users except some special users)
Ardian Alikaj
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Correct answer:
  1. ReadOnlyUser in the }ClientProperties cube - prevent from changing data
  2. Use locks
  3. IsDisabled in the }ClientProperties cube.
    !You cannot disable Admin
    !Need to kick current sessions (via tm1py, for example)
  4. Bulkloadmode - disable everything. Cannot be cancelled: only by server restart. Cannot monitor it using TM1Top: You can only use tm1server.log (if the process launches other processes - you will see "started-finished).
OMG I do not know how to share this point :) Maren was 1st, Emixam gave 2 answers and Ardi explained a good solution with control cube.
It's the first time, when winners of this round are MarenC, Emixam and Ardi! All three have got 0,(3) points!

Question #34:
Oh no! I've set ReadOnlyUser in the }ClientProperties cube for all admins also. Now I cannot change it because I'm readonly admin now. What should I do?
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
Emixam
Regular Participant
Posts: 151
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: Ultimate Long TM1 quiz

Post by Emixam »

Even if you are ReadOnlyUser, you can still create and execute TI. Simply create and execute a TI with the following command:

Code: Select all

CellPutN(0, '}ClientProperties', 'my_name', 'ReadOnlyUser');
MarenC
Regular Participant
Posts: 405
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Ultimate Long TM1 quiz

Post by MarenC »

Hi,

the scoreboard is confusing me somewhat!?

Maren
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

MarenC wrote: Fri Aug 23, 2024 4:30 pm Hi,

the scoreboard is confusing me somewhat!?

Maren
0.(3) is periodic decimal. 0.(3) = 0.33333333333333333333333... = 1/3
In your case, 7.8(3) = 7.83333333333333333333... = 7.5 + 1/3
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Correct answer:

No panic, you still can change rules and processes. Create a process to set Readonlyuser=0 for you, or a rule. Thanks Wim for bringing this up: http://www.tm1forum.com/viewtopic.php?f=3&t=14057

Winner of this round is Emixam! Good start!

Question #35:
When should I enable Security Access for TI Process?
Security Access.png
Security Access.png (7.65 KiB) Viewed 6625 times
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
Adam
Posts: 118
Joined: Wed Apr 03, 2019 12:10 am
OLAP Product: IBM PA
Version: 2.0.9.x
Excel Version: Microsoft 365 x64

Re: Ultimate Long TM1 quiz

Post by Adam »

It’s for processes that non-admins will be running and the process interacts with security in the db. Examples include creation of a dimension element followed by ElementSecurityPut. Without the security access flag set, the process fails.
I've started blogging about TM1, check it out: www.havaslabs.com

Take care,
Adam
Emixam
Regular Participant
Posts: 151
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: Ultimate Long TM1 quiz

Post by Emixam »

On which client you took this screenshot?
Adam is right.
Adam
Posts: 118
Joined: Wed Apr 03, 2019 12:10 am
OLAP Product: IBM PA
Version: 2.0.9.x
Excel Version: Microsoft 365 x64

Re: Ultimate Long TM1 quiz

Post by Adam »

Emixam wrote: Mon Sep 02, 2024 2:15 am On which client you took this screenshot?
Adam is right.
I like the iconography too!
I've started blogging about TM1, check it out: www.havaslabs.com

Take care,
Adam
User avatar
Elessar
Community Contributor
Posts: 401
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Ultimate Long TM1 quiz

Post by Elessar »

Correct answer:

You need to enable Security Access when process needs to change security.
BTW, it does not matter if process is launched by admin or non0admin user: it will fail anyway without Security Access enabled.

Winner of this round is Adam!

Screenshot is taken from TM1 Architect. It is depreciated, but still super-useful.

Question #36:
Different formats are set for all dimensions in a cube. Which one will be displayed?
Dimension order in cube is following:
  1. Organization
  2. EmployeeList
  3. Year
  4. Version
  5. JobType
  6. Employee
Image 66.png
Image 66.png (53.04 KiB) Viewed 6025 times
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
MarenC
Regular Participant
Posts: 405
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Ultimate Long TM1 quiz

Post by MarenC »

Hi,

I believe the Version Format will be displayed because that is stacked on the column and is the last dimension on the column.

Maren
ardi
Community Contributor
Posts: 162
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Ultimate Long TM1 quiz

Post by ardi »

TM1 applies the formatting of the Most inner Row dimension, in your case it would be the formatting defined in your Version dimension.

Just curious: What you have called as Employee Dimension seems to be your Measures dimension in the cube?
Ardian Alikaj
Post Reply