Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (7 items) Re: Count unique values from a secondary source (sharepoint) Jimmy, Imagine the entire Internet giving you a standing ovation right now, It worked! Thank you, Oren Posted to General (Forum) by toren78 on 12-03-2012 Re: Count unique values from a secondary source (sharepoint) Hi Yes, there are many MA values which are the same, The requirement is to count only those unique MA records. Posted to General (Forum) by toren78 on 12-03-2012 Re: Count unique values from a secondary source (sharepoint) Hi, This time there was no error, but the it counted all the records save for one, i.e there are 3206 records and the count was 3205. Any ideas? Cheers, Oren Posted to General (Forum) by toren78 on 12-03-2012 Re: Count unique values from a secondary source (sharepoint) Sure: I tried either: count(xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings/@MA[. != preceding-sibling::xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings/@MA]) Or: count(xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings[@MA != ... Posted to General (Forum) by toren78 on 12-02-2012 Re: Count unique values from a secondary source (sharepoint) Hi, The suggested method did not work. I'm getting an error that a "Node test" was expected. Also, since it is a secondary source, Infopath added this prefix to the Xpath: xdDocument:GetDom ("source name")/dfs:...... Are you able to help? Oren Posted to General (Forum) by toren78 on 12-02-2012 Re: Count unique values from a secondary source (sharepoint) Jimmy, Thank you for your swift reply! I'll test it Sunday first thing and report back, Cheers, Oren Posted to General (Forum) by toren78 on 11-29-2012 Count unique values from a secondary source (sharepoint) I have a secondary source in Infopath 2007 filler form template, This source is from a Sharepoint list that contains many records. my requirement is to count unique records (text) in one of the columns. Example: Col a A A A B B D Should count 3. Searched all over the place but could not find a proper ... Posted to General (Forum) by toren78 on 11-29-2012 Page 1 of 1 (7 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.