Element List with Dynamic MDX Input

Hi All,

Here is a sample code where in you can see right away what your MDX will return to you, combined with an element list and an input box for you to type your MDX statement. Below is on running an MDX against an Account dimension:

<p><input class="form-control" ng-model="page.mdx"></p>
<p><tm1-ui-element-list tm1-instance="dev" tm1-dimension="Account" tm1-mdx="{{page.mdx}}" ng-model="page.accounts"></tm1-ui-element-list></p>

You can then use and examine the contents of page.accounts to drive your tables or lists.


1 Like