You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
I am trying to do a SUM() calculation on one of the columns generated by my SQL query, and following the GitHub example shown here: https://ibb.co/2KchrC1 (https://github.com/infofabrik/reportser … eries.xlsx)
Say cell A2 I have the Excel note with a valid SQL query, then:
in A2 I have: ${product.quantity}
in cell A3 I have: SUM(A2)
When the report is executed, the result shows 0 in cell A3 instead of the sum of the values of the rows generated. The method I have used seems correct and looks in line with the JXLS documentation here http://jxls.sourceforge.net/samples/excel_formulas.html and here https://reportserver.net/en/guides/admi … S-Reports/
In fact, trying out the JXLS reports in the demo instance, it seems the same issue there: https://ibb.co/9TZSGGP
Link to demo: https://demo.raas.datenwerke.net/?local … 7d554e08d2
Any ideas what could be the issue?
Last edited by Johann (2022-06-09 07:17:57)
Offline
Hi Johann,
your screenshot shows only the preview window. If you click on excel export, which is what jxls is about, it should work. The preview is just a rough preview to see what happens in the report, but the real jxls report is the excel export.
Regards,
Eduardo
Offline
Ah, no wonder. Thank you!
Offline