<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Using COUNT for unique items only</title><link>https://www.infopathdev.com:443/forums/thread/105765.aspx</link><pubDate>Wed, 09 Mar 2016 23:02:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105765</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105765</wfw:commentRss><description>Wonderful, glad you have it working!</description></item><item><title>Re: Using COUNT for unique items only</title><link>https://www.infopathdev.com:443/forums/thread/105764.aspx</link><pubDate>Wed, 09 Mar 2016 22:07:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105764</guid><dc:creator>GEE OTTO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105764</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Quick update! I used your base formula and altered it slightly to achieve my goal. I have to add syntax to exclude blanks in this new field we added :-p&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;count(SharePointListItem_RW[Number != preceding-sibling::SharePointListItem_RW/Title and Number != &amp;quot;&amp;quot;])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using COUNT for unique items only</title><link>https://www.infopathdev.com:443/forums/thread/105762.aspx</link><pubDate>Wed, 09 Mar 2016 19:18:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105762</guid><dc:creator>GEE OTTO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105762</wfw:commentRss><description>&lt;p&gt;You are great! I&amp;#39;ve searched and found your replies from years ago and they have been the answer I needed or put me on the right track every time. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Using COUNT for unique items only</title><link>https://www.infopathdev.com:443/forums/thread/105744.aspx</link><pubDate>Tue, 08 Mar 2016 22:30:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105744</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105744</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Maybe this for the unique count?&lt;/p&gt;&lt;p&gt;count(xdXDocument:GetDOM(&amp;quot;Certificates&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title != preceding-sibling::d:SharePointListItem_RW/d:Title])&lt;/p&gt;</description></item><item><title>Using COUNT for unique items only</title><link>https://www.infopathdev.com:443/forums/thread/105740.aspx</link><pubDate>Tue, 08 Mar 2016 21:29:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105740</guid><dc:creator>GEE OTTO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=105740</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello I have a SharePoint library that tracks users training modules, I look at two columns Title and Module to derive the count, and want to count each unique item in Module for each user in Title. My issue is if a user takes the same training multiple times it counts towards their overall completion total which isn&amp;#39;t accurate. For historical purposes I haven&amp;#39;t&amp;nbsp;disabled&amp;nbsp;the&amp;nbsp;SharePoint setting &amp;quot;allow duplicate values&amp;quot; (this will be changed in the future but for now I need to work with what I have) so:&lt;/p&gt;&lt;p&gt;[Title]&amp;nbsp;&amp;nbsp;[Module]&lt;/p&gt;&lt;p&gt;Joe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to make a Form&lt;/p&gt;&lt;p&gt;Joe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to make a Form&lt;/p&gt;&lt;p&gt;Joe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How to publish a Form&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the above example&amp;nbsp;Joe has assigned two courses but he complete the same one twice, when my current form counts its displays&amp;nbsp;Joes percentage compete as&amp;nbsp;3/2 or 150%. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;nbsp;have&amp;nbsp;been attempting to alter my count formula to only count the unique [Module]&amp;nbsp;values for Joe but have been unsuccessful. &lt;/p&gt;&lt;p&gt;I understand the concept of the count formula but am unsure of the syntax to only count each unique instance for a user. Currently I have:&lt;/p&gt;&lt;p&gt;count(Title[not(Title = preceding-sibling::Title/Module)])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;count(xdXDocument:GetDOM(&amp;quot;Certificates&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[not(xdXDocument:GetDOM(&amp;quot;Certificates&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title = preceding-sibling::xdXDocument:GetDOM(&amp;quot;Certificates&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title div xdXDocument:GetDOM(&amp;quot;Certificates&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Module)])&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I use the count function often along with filtering to achieve my goal but I cant input a custom formula &amp;nbsp;via the Filter Data option within the &amp;quot;Insert Field or Group&amp;quot; box. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I use IP and SP 2013 for reference &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>