Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Writing Jupyter notebook to access spreadsheet data?

    Posted Wed April 08, 2020 04:46 PM
    We have 11.1.5 installed in DEV along with the Jupyter Notebook server. I've never written Jupyter scripts so I'm wondering if its possible to write a script to access a spreadsheet file or maybe a ODBC connection?  I'm hoping the combined knowledge on this site can give my some directions on this. Would really appreciate a working script or better yet some pointers on how to get started with writing Jupyter scripts.  Probably a big learning curve for me so some really basic starting tips would be most helpful.  Does anyone know of any hands-on labs associated with Jupyter?
    Thanks to anyone who can help. Stay safe, stay healthy out there!

    ------------------------------
    Scott
    Cognos Administrator
    Wenatchee WA
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Writing Jupyter notebook to access spreadsheet data?

    Posted Thu April 09, 2020 02:38 AM
    Hi Scott, 

    when you want to use data, it's like dashboard, select from a datasource. Code will be generated then.
    More information could be find on : https://www.ibm.com/support/knowledgecenter/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.ca_gtstd.doc/c_read_notebook.html
    I suggest also to look at notebook sample
    Have fun !







    ------------------------------
    Vivien
    Senior Consultant
    Talan Solutions
    Paris
    ------------------------------



  • 3.  RE: Writing Jupyter notebook to access spreadsheet data?

    Posted Mon April 13, 2020 03:17 PM
    Vivien,
    Thanks for this information and pointing to this section in the documentation.  I'd read through this before but forgot all about it after it took so long to get the server running.  I also found a tutorial on the net that gave a little basic instructions on writing Jupyter code.  Wondering if you had a suggestions on where I might go to get a basic start on writing python code for Cognos?  I'm not a programmer so basic skills would be best to start with.  Sure wish IBM had some more documentation to help with this.
    Thanks again for pointing me this direction.

    ------------------------------
    Scott
    Cognos Administrator
    Wenatchee WA
    ------------------------------