ClosedXML.Report
ClosedXML.Report copied to clipboard
Count tag does not work properly
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.
Use counta tag instead.-----------------С уважением, Алексей. 26.05.2022, 15:19, "enverkrinickii" @.**>: 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: ** wordPlease see attached teplate.Thank you in advance.RVRWConnectionReport.xlsx—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>
@b0bi79 counta?
Yes.
<<counta>>
@b0bi79 it works, thank you can you please specify a page with this tag? I did not find it in your's documentation
For some reason, this tag was not included in the documentation. I'll fix it later. A complete and up-to-date list of tags can be found in the code https://github.com/ClosedXML/ClosedXML.Report/blob/203934de8d81d024f99c07d808194754ed435fcf/ClosedXML.Report/XLTemplate.cs#L25