Hi there,
I'd like to built an active form in which not only the rows are dynamic, but also the columns.
Some time ago I built something like this by inserting a second active form in a hidden sheet that generated a list of rows that I transferred (via Index) in the column-headers in the main sheet. But this was a little bit circuitous. Does anyone have a better idea?
Regards
Mark
Best Practice for Active Form with dynamic columns?
- Elessar
- Community Contributor
- Posts: 340
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Best Practice for Active Form with dynamic columns?
Hi,
you can use TM1ELLIST function for this:
you can use TM1ELLIST function for this:
- Generate MDX for your columns dimension
- Use this MDX in TM1ELLIST
- Create a date range with this TM1ELLIST
- Use INDEX in columns
Best regards, Alexander Dvoynev
TM1 and Data Science blog: 6th article - PAfE + VBA: Commit each cell without pressing “Commit” button.
TM1 and Data Science blog: 6th article - PAfE + VBA: Commit each cell without pressing “Commit” button.
-
- Posts: 66
- Joined: Mon Feb 27, 2012 12:37 am
- OLAP Product: TM1
- Version: 10.2.2 Fix Pack 4
- Excel Version: 2010
Re: Best Practice for Active Form with dynamic columns?
Another way is to build a cube with the following dims:
Column # (sequence of numbers that match the excel columnns)
Column list (contains the different lists of column values - dynamic aspect)
Measures (the actual values you want in your active form report columns)
Clients (optional - control dimension for users to filter specific list for different users
In the active form:
- use DBR formula to pull the column value
--- column # matchs the excel column, use spaces if necessary. Needs to be precise
--- column list in the row
- use a validation list to select the column list to make it dynamic
- apply formatting to columns across the whole length of the report. You need to ensure that it looks like a blank column.
Hope that helps
Lance
Column # (sequence of numbers that match the excel columnns)
Column list (contains the different lists of column values - dynamic aspect)
Measures (the actual values you want in your active form report columns)
Clients (optional - control dimension for users to filter specific list for different users
In the active form:
- use DBR formula to pull the column value
--- column # matchs the excel column, use spaces if necessary. Needs to be precise
--- column list in the row
- use a validation list to select the column list to make it dynamic
- apply formatting to columns across the whole length of the report. You need to ensure that it looks like a blank column.
Hope that helps
Lance
- scrumthing
- Posts: 81
- Joined: Tue Jan 26, 2016 4:18 pm
- OLAP Product: TM1
- Version: 11.x
- Excel Version: MS365
Re: Best Practice for Active Form with dynamic columns?
Didn’t know that one. Thanks for sharing.
There is no OLAP database besides TM1!