ClosedXML / ClosedXML/ClosedXML.Report

Count tag does not work properly

Open
#272 5 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
C#
Stars
647
Forks
122
PR merge metrics
No merged PRs in 30d

Description

Hello,
As I understand, **count** tag calculates lines count, but in my case it calculates subtotal with type = "2" ( SUBTOTAL(**2**,B2:B44) )
If I override it with "3" type it works but I cannot add "Total: " word
Please see attached teplate.
Thank you in advance.

[RVRWConnectionReport.xlsx](https://github.com/ClosedXML/ClosedXML.Report/files/8778947/RVRWConnectionReport.xlsx)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the report behavior with the attached RVRWConnectionReport.xlsx template and its count tag. Trace how the count tag produces SUBTOTAL(2,B2:B44) and how adding the "Total: " prefix changes that output. Done means the count tag counts the intended lines while preserving the requested label.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.