Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only

Upcoming Events for IBM Planning Analytics

By Svetlana Pestsova posted Tue October 14, 2025 10:21 AM

  

Dear Community members, 

IBM Planning Analytics Product team is planning to have more virtual events in 2025, please join!

1. LIVE WEBINAR | Ask-Me-Anything: Planning Analytics - November Edition

Wednesday, November 12, 2025 10:45 AM-12:00 PM EDT

2. LIVE WEBINAR | Q4 Product Update - What's New with Planning Analytics

Wednesday, November 19, 2025 10:45 AM-12:00 PM EDT

2 comments
29 views

Permalink

Comments

9 days ago

That sample would work: 

POST {{databaseRootUrl}}/ExecuteCubeDrillthrough?$expand=Axes($expand=Tuples($expand=Members($select=Name))) Authorization: {{Authorization}} Content-Type: application/json { "DrillthroughProcess": { "PrologProcedure": " mdx = ' TEMPLATE : SELECT {[D1].MEMBERS} ON 0, {[D2].[<<tuple.p>>]} ON 1 FROM [C_D1D2]';\r\n ViewCreateByMDX('C_D1D2', 'tmp', mdx, 1);\r\n DRILLTHROUGHTUPLE = JSONAdd('{}', 'p', '\"D2_E1\"');", "EpilogProcedure": "ReturnViewHandle('C_D1D2', 'tmp');" } }

Fri October 17, 2025 08:12 PM

Hello Svetlana,

Would it be possible to showcase/demo the drill-through functionality in V12?

I read that there are templates and contexts but no idea how to apply it and set it up.

The use case could be a source cell containing an intersection of 2 hierarchies. We drill to a target cube with for instance a different hierarchy of the same dimension with the children of the selected element from the source. Or something along these lines.

In some documentation I found (but it does not give me clues on how to use it):

ReturnViewHandle
DRILLTHROUGHTUPLE

<< >> for variable interpolation
<% %> for control structures
<# #> for comments

the keyword TEMPLATE: to an expression


TEMPLATE:
SELECT {[D3].MEMBERS} ON 0
FROM [C_D1D2D3]
WHERE (
[D1].[D1].<% if tuple.D1.D1 is defined %>[<< tuple.D1.D1.Name >>]<% else
%>DefaultMember<% endif %>,
[D2].[D2].[<<tuple.D2.D2.Name>>]
)