Loading data from .csv into cube

Post Reply
pooja_11284
Posts: 14
Joined: Wed Jul 01, 2015 1:10 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Loading data from .csv into cube

Post by pooja_11284 »

I have a .csv file from which i want to load data into cube. The requirement is only non zero values should get loaded as the sheet has lots of zeros. What is the best approach to load data in this case? I was thinking to put if condition in data tab so that if data <>0, Cellputn statement executes. I have 24 measures getting loaded from the sheet. Let me know if there is a way to use macro or something in the sheet itself to suppress zero data or apart from using if loop we can use something else.
Wim Gielis
MVP
Posts: 3230
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Loading data from .csv into cube

Post by Wim Gielis »

Please can you post in the appropriate subforum ?

Regarding the question:

Yes, put a condition in the data tab to exclude some CellPutN's or do an Itemskip to skip processing that line from the csv file.
Best regards,

Wim Gielis

IBM Champion 2024-2025
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
User avatar
jim wood
Site Admin
Posts: 3958
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Loading data from .csv into cube

Post by jim wood »

Moved to the correct forum.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply