IBM Apptio

IBM Apptio

A place for Apptio product users to learn, connect, share and grow together.

 View Only
Expand all | Collapse all

Loading Protected Sheet (Excel) in CT

  • 1.  Loading Protected Sheet (Excel) in CT

    Posted Mon June 19, 2023 05:51 AM

    Does anybody have a solution for loading a Excel protected sheet (without having to unprotect it) in CT because loading it produces the following error:

    Could not load table from disk.

    Thanks in advance.

    Robert


    #CostingStandard(CT-Foundation)


  • 2.  RE: Loading Protected Sheet (Excel) in CT

    Posted Tue June 20, 2023 11:24 AM
    Edited by Tony Wong Tue November 05, 2024 05:48 PM

    @Robert Brilmayer

    How big is the protected sheet? You can copy the entire sheet and do a paste over to the table in Apptio.

    With the table checked out and at the Upload pipeline step, right click on the date where you want to load and select 'Paste Over'. Then paste the entire content in the pop up window and then click 'OK'.



    ------------------------------
    Tony Wong
    ExxonMobil TBM Consultant
    ------------------------------



  • 3.  RE: Loading Protected Sheet (Excel) in CT

    Posted Wed June 21, 2023 02:58 AM

    Hi Tony,

    It's not a solution, there are more than 30 data sets. 

    And multiple sheets and we would like to automate this because of the volume.

    If I copy paste the sheet to a new sheet in the same file it works fine, but doing this every month more than 30 times, is not going to work.

    Thanks for your trouble.

    Robert




  • 4.  RE: Loading Protected Sheet (Excel) in CT

    Posted Wed June 21, 2023 08:35 AM

    @Robert Brilmayer we implemented MIP last November and ran into the same issue (and opened a ticket with Apptio).   The only workaround we found was changing the file type to csv.   When the file type was set as csv we did not get the disk error.   Otherwise, I'm not sure Apptio has a solution.   We used another tool prior to MIP and never had this issue but when implementing MIP we ran into this.  




  • 5.  RE: Loading Protected Sheet (Excel) in CT

    Posted Wed June 21, 2023 08:43 AM

    Thank you for the answer.

    I am not certain if this is going to work, but is was already an option to be considered.

    Thanks,

    Robert




  • 6.  RE: Loading Protected Sheet (Excel) in CT

    Posted Wed June 21, 2023 08:44 AM

    Hi Robert,

    Do you have SQL team to assist you in this situation? We use SQL SSIS solution to import Excel spreadsheets from file shared location and then create automated SQL batch jobs to export data into csv files that would solve the protected sheet problem.



    ------------------------------
    Tony Wong
    ExxonMobil TBM Consultant
    ------------------------------



  • 7.  RE: Loading Protected Sheet (Excel) in CT

    Posted Thu June 22, 2023 03:39 AM

    Some more info about the data, the Excel files are the first step of the process and are also loaded into Power BI some how (unknown to me for now). The output of that (Power BI source) could be used but that is the end of the load process. 

    We want to use the data directly at the start, but unfortunately this might not be possible.

    Thanks for the thoughts.

    Robert Brilmayer

     




  • 8.  RE: Loading Protected Sheet (Excel) in CT

    Posted Fri June 23, 2023 01:57 AM

    Hi Robert,

    I dare say you may not have an easy way around the data protection as Apptio would require the credentials/access rights to read the data if it is locked down. I am guessing there is a reason for the file to be protected in the first instance.

    The other option you could consider is writing a Macro that sits in the Excel file that pushes the data into Apptio via the API. This would overcome the challenge you talk of but would require some VB coding. If you need a pointer I can dig up some old code I wrote that was able to pull data into Excel - with a bit of engineering you could look to use this as a basis to push data back out again and automate over the sheets.

    Regards Mark



    ------------------------------
    Mark Johnson
    Delivery Manager - TBM Office
    Origin Energy
    +61 467 863 134
    mark.johnson1@origin.com.au
    ------------------------------



  • 9.  RE: Loading Protected Sheet (Excel) in CT

    Posted Fri June 23, 2023 03:32 AM

    Only a small section of the sheet is protected. 

    But this stops the complete load of the sheet.

    So have to perform a copy past in a new empty sheet to make it possible to load the data into apptio.

    But doing this for 60+ sheets (* 12 months) is too much.

    Have to meet with the customer and find another solution.

    Thanks,

    Robert 




  • 10.  RE: Loading Protected Sheet (Excel) in CT

    Posted Sat June 24, 2023 01:02 AM

    What type of protection is on the sheet?

    I tested protecting a sheet and it worked just fine.  That being said, have you tried making another sheet that simply uses cell references to the locked sheet, then pointing the upload to that sheet name.  Do you have a sample locked sheet that reproduces this?  Or the steps you're using to lock your sheet in this way?

    I locked a sheet, leaving everything unchecked, and was able to load it without issue, with or without using a password.




  • 11.  RE: Loading Protected Sheet (Excel) in CT

    Posted Mon June 26, 2023 03:07 AM
    Edited by Robert Brilmayer Tue November 05, 2024 05:40 PM

    Hi Mark,

    Turns out the issue is just that sheet. The other protected sheets we have work just fine.

    It was one with some form of corruption and of course it was just the one we tested first.

    That sheet with protection just seemed to be the issue.

    Thanks all,

    Robert