Search found 285 matches

by ascheevel
Mon Feb 20, 2023 10:40 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Update excel data from TM1
Replies: 21
Views: 16095

Re: Update excel data from TM1

You should submit to a whole new thread, this one is from 2012.

I've seen this when there's a circular reference. What do you see when you click Formulas -> Error Checking?
by ascheevel
Thu Feb 09, 2023 6:23 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Using TI process to parse data from a text file
Replies: 4
Views: 1687

Re: Using TI process to parse data from a text file

Your best bet imo is to work with your ETL team to get a better source file.
by ascheevel
Tue Feb 07, 2023 6:01 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Product that creates loads of named ranges in Excel
Replies: 2
Views: 567

Re: Product that creates loads of named ranges in Excel

Doesn't Contributor create a bunch of named ranges?
by ascheevel
Tue Jan 24, 2023 4:58 pm
Forum: Enhancements
Topic: Python Integration PA on Cloud
Replies: 4
Views: 8595

Python Integration PA on Cloud

RFE for Python integration on Cloud. In short: any python integration on cloud must include ability to call python script from action button and TI
by ascheevel
Sat Jan 14, 2023 3:24 am
Forum: Useful code, tips and tricks
Topic: Calculate Number of Days Since/Until specified weekday
Replies: 0
Views: 9475

Calculate Number of Days Since/Until specified weekday

I've been meaning to share this for a while. The recent post by Palczan spurred me to finally post this. A few times I've needed to find either the next or previous specified weekday (often a Monday) from a given date and save as attribute. Below is useful math for determining next/previous specifie...
by ascheevel
Fri Jan 13, 2023 8:14 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: ISO Week Number
Replies: 6
Views: 1761

Re: ISO Week Number

While not a wrapped-up function, the below code will calc the ISO week for a given date. There's likely opportunity to improve & refactor this, but I was just having a bit of fun on a Friday. ## temp parameter pDate = '20241231'; pDateFormat = 'yyyyMMdd'; ## parse date parameter nDate = ParseDat...
by ascheevel
Fri Jan 13, 2023 2:27 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Rule for previous date
Replies: 2
Views: 627

Re: Rule for previous date

I second what George said. It seems you haven't fully shared the logic for your "previous date". If you want 2/28 to return 1/31, what should 2/27 return and 2/26, etc? Ignoring all of that, you could use the below code to have 2/28 return 1/31 in your specified output format via rules ass...
by ascheevel
Mon Jan 09, 2023 6:35 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Need help on this MDX
Replies: 11
Views: 1387

Re: Need help on this MDX

TM1SubsetToSet([program], IIF([organization].[parent].[Level] = "Level 0" , "Subset1", "Subset2")) It seems by this code [organization].[parent].[Level] you're trying to first grab the parent attribute of the element from the organization dimension and then the level o...
by ascheevel
Fri Jan 06, 2023 8:43 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Sandbox unloading using TI
Replies: 4
Views: 672

Re: Sandbox unloading using TI

The process is mainly used for simulation to check the impacts of changing some inputs and verify the final numbers without any committing this data to the cube. ...yes, this is a textbook use case for a sandbox. I've done a bit of testing and the user logging off seems to be a key trigger to unloa...
by ascheevel
Thu Jan 05, 2023 3:50 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Sandbox unloading using TI
Replies: 4
Views: 672

Re: Sandbox unloading using TI

Are you trying to delete sandboxes during business hours when users potentially have cube views open and reviewing data in a sandbox you're trying to delete? Could you instead try to delete sandboxes during quiet hours or make it part of a startup chore?
by ascheevel
Wed Jan 04, 2023 4:04 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Data Source cube view optimization in TI
Replies: 15
Views: 1599

Re: Data Source cube view optimization in TI

lotsaram wrote: Wed Jan 04, 2023 3:34 pm ...use ViewConstruct on the prolog of the TI.
I believe ViewConstruct will be limited by the MaximumViewSize config parameter. If the value isn't big enough for the view you're trying to construct, the TI will abort. It's a dynamic parameter so can be adjusted without restarting the service.
by ascheevel
Mon Dec 19, 2022 2:56 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Alias doesn't work in rule right hand side
Replies: 4
Views: 1765

Re: Alias doesn't work in rule right hand side

Turned out aliases are used in functions, e.g. ElIsAnc('Dimension 1', 'Alias value', !Dimension 1) rather than in comparisions. and an alias works on the RHS in that situation because it's being used to refer to the element object . An element object is much more than it's string name and can be re...
by ascheevel
Thu Dec 15, 2022 2:15 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Alias doesn't work in rule right hand side
Replies: 4
Views: 1765

Re: Alias doesn't work in rule right hand side

The issue is how you're referring to the alias and I would say this is expected behavior. You're doing a string comparison, asking if !Dimension1 element-'999'- is equal to a specified string value - '999 - Account' will never evaluate to true as they are not the same. When referencing !<dimension> ...
by ascheevel
Tue Dec 06, 2022 4:32 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: MDX escape special character
Replies: 7
Views: 4756

Re: MDX escape special character

Thanks PavoGa, for my own MDX I rarely use the ".CurrentMemember.Properties", can you advise when it should be used?
by ascheevel
Tue Dec 06, 2022 3:02 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: MDX escape special character
Replies: 7
Views: 4756

Re: MDX escape special character

If you're filtering by an attribute string, you don't need to use StrToMember, the below should work assuming no typos on my part. {FILTER( TM1SubsetAll([investmentID]) , ([investmentID].CURRENTMEMBER.PROPERTIES("creation_date") = [SysParameters].([Parameters].[sCurrentYear], [sysParameter...
by ascheevel
Mon Nov 28, 2022 2:45 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Creating indented snapshots from cube views
Replies: 6
Views: 1057

Re: Creating indented snapshots from cube views

Are you simply asking the WHY or are you asking if there's a workaround? I'm not aware of a fix. As for the why, my guess is it has to do with Perspectives being an excel add-in and TM1web using open xml file format for excel files since 10.2 and IBM not being bothered to consider that as desired fu...
by ascheevel
Thu Nov 17, 2022 10:06 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: how to make a drillthough on a virtual hierarchy element?
Replies: 10
Views: 1419

Re: how to make a drillthough on a virtual hierarchy element?

mrdauduong wrote: Thu Nov 17, 2022 3:48 pm I will wait for the solution in the next update
I think this is the best course of action for you at this time, hopefully the wait isn't too long. Cheers.