<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Filter repeating table by department</title><link>https://www.infopathdev.com:443/forums/thread/3477.aspx</link><pubDate>Tue, 14 Nov 2006 15:57:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3477</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3477.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3477</wfw:commentRss><description>Locked due to duplication with this thread:&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=3679&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=3679&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Filter repeating table by department</title><link>https://www.infopathdev.com:443/forums/thread/1662.aspx</link><pubDate>Tue, 14 Nov 2006 02:58:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1662</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1662</wfw:commentRss><description>I'm trying to Use a drop down box to select a department, then I want a repeating table below to Filter and sum the monthlyExpenses for only that department which was select from the drop down box above. I've tried this with rules, but I think I'm a little off. If someone can assist me, I will greatly appreciate it. If anyone knows anyway else I can do this, let me know.&lt;br /&gt;&lt;br /&gt;Here is my Schema&lt;br /&gt;&lt;br /&gt;.myFields&lt;br /&gt;....queryFields&lt;br /&gt;....dataFields&lt;br /&gt;.......d:TOSS&lt;br /&gt;...........employeeDepartment (drop down box with 10 departments)&lt;br /&gt;.......my:ytdTotals (repeating table that sums up the monthlyexpense)&lt;br /&gt;.............ytdExpenses&lt;br /&gt;.............ytdBudgeted&lt;br /&gt;.............ytdVariance&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found that I may have to use current(), but I can't get it to work exactly right. Here is the code that I got so far to put in Xpath. I've tried to put it in the repeating tab le filter under This Expressinon, but it filters everything and the repeating table doesn't show anything. I apreciate the help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/myFields/datafields/d:TOSS/employeeDepartment[../@monthlyExpenses = current()/Selection/SelectedemployeeDepartment]</description></item></channel></rss>