Well, you need to include “group” parameter for your first marker accordingly. For complete reference, screen shots and example codes, please see the sub-topic “Grouping Data” in the document:
Please follow the example on the topic which I referred (in my previous post) and input your markers accordingly. If you still find the issue, kindly create a sample runnable console application (you may use dynamic datatable(s) using your code), zip it and post it here with the template files. Also attach your expected file that you may manually create in MS Excel, we will check your issue soon.
I looked at the site and followed the example. Were the smart markers I put in entered incorrectly or was there a problem with the syntax? To me everything looks fine...
Well, I am not sure why you are repeating this or writing the same marker two times and mixing it. If you write it one time, there is not much difference though.
Not much difference though, but I think you may use this type of separate marker ("&=subtotal9:Order Details.OrderID") to place it below your main marker, so you could make it bold or apply formattings to the summary rows/records only, etc.
In grouping data for Smart Markers, as you might already know, there would be always summary row(s) accordingly in b/w details when the markers would be processed. The summary row(s) are inserted dynamically too. I am afraid, the summary rows are inserted dynamically in b/w the cells, so by default, it might not possible to insert your static data/labels to be placed in your desired position in the cells. Also, if you place a formula e.g place a formula "Sum(C1:C2)" in the C3 cell - where as we have the main marker for Sales field, it would also calculate the summary records to be counted/included which you might not want to be added.
By the way, MS Excel has a feature i.e. Subtotals that you may try with it.
I was afraid you'd say something like that. I'll play around with it a little, maybe I'll hide some cells to get it to work without showing the entire row.
Does the answer you gave me also apply to grand totals, is there a way to calculate it?
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.