Cognos Analytics

 View Only
  • 1.  Add formula in text area on report

    Posted Tue January 18, 2022 09:57 AM
    Hi to all,
    I'd like to add some math formulas as text on Report. How can I do?
    An example here:

    Thanks.

    ------------------------------
    Ruben Seror
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Add formula in text area on report

    IBM Champion
    Posted Tue January 18, 2022 10:08 AM
    Hi Ruben,

    what about mathjax? Could be worth a try.
    Br

    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------



  • 3.  RE: Add formula in text area on report

    IBM Champion
    Posted Tue January 18, 2022 10:30 AM
      |   view attached
    I tried it in a test report, but I must admit that I am not an expert in custom controls. The report gives some error messages, but renders the formula. I assume that the errors can disappear with a little tweaking.

    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------

    Attachment(s)

    xml
    mathjax.xml   3 KB 1 version


  • 4.  RE: Add formula in text area on report

    Posted Wed January 19, 2022 05:21 AM
    I try to import your report but it's full of references at your setup that's impossible to solve. 
    I see that you have used two custom control. I try to read the XML to replicate it from a new report. 
    Thanks Dostal

    ------------------------------
    Vincenzo gonino
    ------------------------------



  • 5.  RE: Add formula in text area on report

    IBM Champion
    Posted Wed January 19, 2022 05:27 AM
    Hi Vincenzo,
    actually it's just the reference to my package which can be replaced and the report should run then.

    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------



  • 6.  RE: Add formula in text area on report

    Posted Wed January 19, 2022 05:58 AM
    I found another comple of reference but I create a new report reading the XML. 
    Now the problem is to resolve the warning :) 
    Thanks Dostal!

    ------------------------------
    Vincenzo gonino
    ------------------------------