<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculate Fields - Ignore Hidden</title><link>https://www.infopathdev.com:443/forums/thread/106820.aspx</link><pubDate>Fri, 27 May 2016 15:41:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106820</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106820</wfw:commentRss><description>Ah! Awesome, I&amp;#39;ve never seen that option before. Thanks! I&amp;#39;ll look into it more, but this looks like what I&amp;#39;m looking for.</description></item><item><title>Re: Calculate Fields - Ignore Hidden</title><link>https://www.infopathdev.com:443/forums/thread/106819.aspx</link><pubDate>Fri, 27 May 2016 15:37:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106819</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106819</wfw:commentRss><description>Yeah, so in your formula where you selected Answer1, you should be able to click Filter Data and add the same filter you are using in your formatting. If you have trouble, you can attach your form under a reply in the Options tab &amp;amp; I&amp;#39;ll try to give you a hand.</description></item><item><title>Re: Calculate Fields - Ignore Hidden</title><link>https://www.infopathdev.com:443/forums/thread/106818.aspx</link><pubDate>Fri, 27 May 2016 15:27:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106818</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106818.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106818</wfw:commentRss><description>Is there a way to do that in the value formula? I have the data filtered using a formatting rule &amp;quot;[Date From]  [Date]&amp;quot; and the [Average Field] formula is just &amp;quot;avg(Answer1)&amp;quot;. Can a filter condition be added to the formula like... &lt;b&gt;avg(Answer1,where([Date From]  [Date]))&lt;/b&gt;?
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;(I also just realized that my formatting for my example in my previous post didn&amp;#39;t stick so readding it here)
&lt;br /&gt;
&lt;br /&gt;
Example: Date From: 2/1/2016 Date To: 2/20/2016 
&lt;br /&gt;&lt;b&gt;[Repeating Table] &lt;/b&gt;
&lt;br /&gt;__________________ 
&lt;br /&gt;Date: 2/15/2016 
&lt;br /&gt;Answer 1: 5 
&lt;br /&gt;Answer 2: 10 
&lt;br /&gt;Answer 3: 4 
&lt;br /&gt;__________________ 
&lt;br /&gt;Date: 2/18/2016 
&lt;br /&gt;Answer 1: 2 
&lt;br /&gt;Answer 2: 1 
&lt;br /&gt;Answer 3: 1 
&lt;br /&gt;__________________ 
&lt;br /&gt;(Hidden) Date: 3/30/2016 
&lt;br /&gt;Answer 1: 6 
&lt;br /&gt;Answer 2: 6 
&lt;br /&gt;Answer 3: 7 
&lt;br /&gt;__________________ 
&lt;br /&gt;&lt;b&gt;[Normal Table, Expected Result] &lt;/b&gt;
&lt;br /&gt;Average Answer 1: 3.5 
&lt;br /&gt;Average Answer 2: 5.5 
&lt;br /&gt;Average Answer 3: 2.5 
&lt;br /&gt;__________________
&lt;br /&gt;&lt;b&gt;[Normal Table, Current Results]&lt;/b&gt;
&lt;br /&gt;Average Answer 1: 4.3 
&lt;br /&gt;Average Answer 2: 5.6 
&lt;br /&gt;Average Answer 3: 4</description></item><item><title>Re: Calculate Fields - Ignore Hidden</title><link>https://www.infopathdev.com:443/forums/thread/106810.aspx</link><pubDate>Thu, 26 May 2016 22:36:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106810</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106810</wfw:commentRss><description>Hi - when you create your average and other calcs, you need to filter the data selection in the same way as your table is filtered so the hidden rows are excluded. Does that make sense?</description></item><item><title>Calculate Fields - Ignore Hidden</title><link>https://www.infopathdev.com:443/forums/thread/106753.aspx</link><pubDate>Mon, 23 May 2016 21:39:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106753</guid><dc:creator>dannylam4</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=106753</wfw:commentRss><description>I have a Sharepoint Library where users submit a survey. The Library contains numbers and a submission date. I&amp;#39;m creating a report that queries the library and has rules that hides survey entries based on a &amp;quot;Date From&amp;quot; and a &amp;quot;Date To&amp;quot; field. The report then takes the data and calculates an average, but it averages the hidden tables as well. Is there any way to ignore the hidden fields? Or a different way to filter the data without using a Rule?

Example:
Date From: 2/1/2016
Date To: 2/20/2016

[Repeating Table]
__________________
Date: 2/15/2016
Answer 1: 5
Answer 2: 10
Answer 3: 4
__________________
Date: 2/18/2016
Answer 1: 2
Answer 2: 1
Answer 3: 1
__________________
(Hidden)
Date: 3/30/2016
Answer 1: 6
Answer 2: 6
Answer 3: 7
__________________

[Normal Table, Expected Result]
Average
Answer 1: 3.5
Answer 2: 5.5
Answer 3: 2.5


[Normal Table, Current Results]
Average
Answer 1: 4.3
Answer 2: 5.6
Answer 3: 4

Hopefully I explained that okay. Thanks!</description></item></channel></rss>