<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123089.aspx</link><pubDate>Tue, 09 Jun 2020 18:38:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123089</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123089</wfw:commentRss><description>We found the issue - since Area was a lookup in the secondary list, we needed to change the filter to use ID instead: count(xdXDocument:GetDOM(&amp;quot;RDT List Count Status&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Area[. = current()/../my:ID and ../d:Status = &amp;quot;In Service&amp;quot;])</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123084.aspx</link><pubDate>Mon, 08 Jun 2020 21:12:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123084</guid><dc:creator>deryozzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123084</wfw:commentRss><description>Hi Hilary would it be okay if I sent you a PM??</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123083.aspx</link><pubDate>Mon, 08 Jun 2020 14:49:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123083</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123083</wfw:commentRss><description>I think you&amp;#39;ll have to find a way to get me the template, I&amp;#39;m afraid. When you have the template in design mode, can you navigate to File &amp;gt; Save As to save a copy? And then attach the saved file to a reply?</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123082.aspx</link><pubDate>Sun, 07 Jun 2020 10:45:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123082</guid><dc:creator>deryozzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123082</wfw:commentRss><description>Hi Hilary, 

I have tried the new formula and it&amp;#39;s still returning a value of 0, in saying that I hope that I applied it correctly, it checked the XPath option in the formula box and pasted in the new formula. 

Thanks so much for your help,

Dee</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123076.aspx</link><pubDate>Thu, 04 Jun 2020 15:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123076</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123076.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123076</wfw:commentRss><description>So this is a default value in a field in the main data source in the form? I&amp;#39;d guess this might work: count(xdXDocument:GetDOM(&amp;quot;RDT List Count Status&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Area[. = current()/../my:Title and ../d:Status = &amp;quot;In Service&amp;quot;])</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123075.aspx</link><pubDate>Thu, 04 Jun 2020 11:07:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123075</guid><dc:creator>deryozzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123075</wfw:commentRss><description>Hi Hilary, 

The Xpath is as follows:



count(xdXDocument:GetDOM(&amp;quot;RDT List Count Status&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Area[. = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title and ../d:Status = &amp;quot;In Service&amp;quot;])

Thanks!!!!</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123070.aspx</link><pubDate>Wed, 03 Jun 2020 20:14:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123070</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123070</wfw:commentRss><description>In the formula editor, can you check the Edit XPath option and paste the XPath into a reply?</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123066.aspx</link><pubDate>Wed, 03 Jun 2020 09:34:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123066</guid><dc:creator>deryozzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123066</wfw:commentRss><description>Hi Hilary, 

I tried a few times to save as template but am having no luck. It may be something to do with the company permissions.

What I have tried is I am opening Area list in Infopath and have setup a data connection to the second list (pulling the Fields &amp;quot;Area&amp;quot; and &amp;quot;Status&amp;quot;) then in Area List in Field called In Service I have set the default value to count(Area[. = Title and Status = &amp;quot;In Service&amp;quot;]) So count in List 2 (using second data connection and fields selected from dataFields) the field Area and then filtered to Area (second data conn) = Title (Main Connection) AND where Status (Second Connection) = In Service (in correct case) . All fields have been selected from the dataField drop down for both connections.

This always returns a value of 0, when there should be a higher value. 

I&amp;#39;m obviously missing something??? I hope I explained that okay. 

Any advice you could give would really be appreciated. 

Dee</description></item><item><title>Re: Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123046.aspx</link><pubDate>Wed, 27 May 2020 14:52:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123046</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123046</wfw:commentRss><description>Any chance you can attach your template (under the Options tab in a reply) - the XPath filter for this will depend on your data sources.... Also, just in case you weren&amp;#39;t aware, XPath is case sensitive, so if your list data is actually &amp;quot;In Service&amp;quot; instead of &amp;quot;In service&amp;quot; for example, you won&amp;#39;t get a match on that text :)</description></item><item><title>Count rows of Data with certain parameters</title><link>https://www.infopathdev.com:443/forums/thread/123043.aspx</link><pubDate>Wed, 27 May 2020 11:15:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123043</guid><dc:creator>deryozzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123043.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=123043</wfw:commentRss><description>Hi, 

I am really struggling with this and I&amp;#39;m hoping someone will be able to help! I have two lists List A (Area) and List B (Units). List B has a Lookup field (called Area) to List A (Column &amp;quot;Title&amp;quot;). List B has a status field which can one of two Status - &amp;quot;In service&amp;quot; and &amp;quot;Out of service&amp;quot;. 

I have two fields in List A called &amp;quot;In service&amp;quot; and &amp;quot;Out of service&amp;quot;so beside each Area item I want to show a count in the field &amp;quot;In service&amp;quot; where all the items in List B Area field is equal to List A Title Field AND Status is equal to &amp;quot;In service&amp;quot; 

I have tried a few ways to do this and cant find anything that works . 

Thanks in advance to anyone that may have any insight!!!

Dee</description></item></channel></rss>