Hi,
Is it possible to get data from regular Excel table into TM1 cube in Excel worksheet? When I create formula then it disappears after calculating.
ylr
Get data into the cube in Excel
-
- Site Admin
- Posts: 1454
- Joined: Wed May 28, 2008 9:09 am
Re: Get data into the cube in Excel
DBSW is your friend. You can either create a block of formulae to link to your data area, or include DBSW calls in a macro. The latter is neater but slower, as DBSW in a worksheet is optimised for volume.
-
- MVP
- Posts: 3120
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Get data into the cube in Excel
Hello DavidDavid Usherwood wrote:DBSW is your friend. You can either create a block of formulae to link to your data area, or include DBSW calls in a macro. The latter is neater but slower, as DBSW in a worksheet is optimised for volume.
But VBA-code should be written to put all DBSW cells in one go (as with all formulas), and then refresh. Not one by one/loops, since loops are relatively slow in Excel VBA.
In that case, it does not matter which of the 2 methods you use.
Wim
Best regards,
Wim Gielis
IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly