Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formulas do not work in xlsx reports #199

Open
NikitaShchienko opened this issue Jun 19, 2019 · 5 comments
Open

Formulas do not work in xlsx reports #199

NikitaShchienko opened this issue Jun 19, 2019 · 5 comments
Assignees
Labels
ver: 7.2.21 Fixed in version ver: 7.3.0 Fixed in version
Milestone

Comments

@NikitaShchienko
Copy link
Collaborator

Environment

  • Platform version: 7.0.6

Description of the bug or enhancement

In the xlsx format report, not all formulas from the template are displayed and are not calculated.
Link to the forum: https://www.cuba-platform.ru/discuss/t/itogovye-summy-v-otchetah-excel/3149

Minimal reproducible example

  1. Import sample report (test.zip)
  2. Run report
  3. Open report

Expected behavior: In the formula cells, the result must be calculated.

Actual behavior: The report does not display formulas.
Template file:
image
Final report:
image

@gladyshev-dv
Copy link

Hello!
Doesn't fixed yet?

@gorbunkov gorbunkov assigned t3-cuba and unassigned NikitaShchienko Jul 6, 2021
@gorbunkov gorbunkov added the state: won't fix This will not be worked on label Jul 8, 2021
@gorbunkov gorbunkov added this to the Release 7.2 milestone Jul 8, 2021
@gorbunkov gorbunkov removed the state: won't fix This will not be worked on label Jul 8, 2021
@gorbunkov gorbunkov assigned Desire456 and unassigned t3-cuba Jul 8, 2021
@gorbunkov
Copy link
Contributor

Probably this issue in YARG is linked to the current one

@Desire456
Copy link
Contributor

That occurs because the template is created using Microsoft Office. There is a shared formula that was created in MS Office and not supported by LibreOffice. You can create a template using LibreOffice or don't use shared formulas in MS Office. When you create the template using LibreOffice all works correctly. The correct workflow for this case is creating templates in LibreOffice and reading reports from everywhere or creating templates in Microsoft Office and not using shared formulas.

@Gavrilov-Ivan
Copy link
Contributor

Added new property to force formulas evaluation - reporting.formulasPostProcessingEvaluationEnabled.
True by default.

Gavrilov-Ivan added a commit that referenced this issue Jan 17, 2023
Gavrilov-Ivan added a commit that referenced this issue Jan 17, 2023
@Gavrilov-Ivan
Copy link
Contributor

Updated: default value is 'false'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ver: 7.2.21 Fixed in version ver: 7.3.0 Fixed in version
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

8 participants