Search found 45 matches

by WilliamSmith
Wed Jan 11, 2023 8:14 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: .Net C# Algorithm to Parse JSON return from cellset query
Replies: 2
Views: 829

Re: .Net C# Algorithm to Parse JSON return from cellset query

TM1 endpoints: Cube View: /api/v1/Cubes('" + cubeName + "')/Views('" + viewName + "')/tm1.Execute?$expand=Axes($expand=Hierarchies($select=Name),Tuples($expand=Members($select=Name))),Cells($select=Ordinal,Value) MDX: /api/v1/ExecuteMDX?$expand=Axes($expand=Hierarchies($select=Na...
by WilliamSmith
Wed Jan 11, 2023 8:06 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: .Net C# Algorithm to Parse JSON return from cellset query
Replies: 2
Views: 829

.Net C# Algorithm to Parse JSON return from cellset query

(Mod, please move this to the appropriate forum) Hi all, I am .Net guy, and I've recently found myself with professional opportunity to be the primary TM1 guy in our operation. I've been playing around with the TM1 REST API, and been very interested in the most efficient way to parse cellsets from M...
by WilliamSmith
Mon Dec 19, 2022 3:41 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: VBA code to Commit data in pax via Macro
Replies: 2
Views: 717

Re: VBA code to Commit data in pax via Macro

Hi there, I've been able to prototype writing into TM1 using the REST API with VBA. Would love to discuss further. Sub Example() 'Configure element list (Dimension~Hierarchy~Element) Dim elementList As New Collection Set elementList = Nothing elementList.Add "MONTH~MONTH~2212" elementList....
by WilliamSmith
Fri Dec 16, 2022 7:17 pm
Forum: Free And Open Source Tools
Topic: PAjs - Planning Analytics with Watson JavaScript REST Client
Replies: 2
Views: 8083

Re: PAjs - Planning Analytics with Watson JavaScript REST Client

Very cool Edward!! Thank you for sharing.

Wondering if you may be available to chat about PAW.
by WilliamSmith
Wed Dec 14, 2022 7:10 pm
Forum: Useful code, tips and tricks
Topic: Starting with the REST API - Examples using Excel
Replies: 6
Views: 14102

Re: Starting with the REST API - Examples using Excel

Interested to see if you've been able to parse the JSON return of a cell set. From what I've found, you can query for axes collection object, and cells collection object. Axes collection has the hierarchical header values for columns and rows, and cells collection has the cell ordinal # and value. F...