Okay my head is hurting. Been reading up on XSL / XSLT. I saved my Infopath file as source files, then I went in and looked at the XSL for my "Monthly Rollup" view. I noticed that it had:
<xsl:for-each select="../my:Item/my:Name">
for the group, and for the counts it had:
<xsl:value-of select="sum(xdMath:Nz(my:SoldCount))"/>
From what I read on XSL/XSLT groupings - that's right on the money.. that's what it should say in order to sum the SoldCount field, based on unique product Name values.
Doesn't seem to be merging when I enable those options however.
I recreated a simpler project from scratch just to see if it was something else causing the issue - and I'm getting the same results.
My Data Source looks like this:
Sales
SampleDate (Date)
Item (Group, Repeating)
Name (Text)
SoldCount (Whole Number)
SaleValue (Double Number)
On the Item Group, I went Properties -> Rules and Merge -> Merge Settings and selected Insert the groups from the source forms into the target form (default) and checked off the option Combine groups with the same field value, setting the field to my:Name
Despite re-creating it - I am still getting the same behaviour - it doesn't seem to merge any data in (or maybe it does, but it does not put it anywhere).