<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Calculations using FinPeriod - Acumatica Generic Inquiries &amp; Pivot Tables				            </title>
            <link>https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 11 Aug 2026 14:05:48 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Calculations using FinPeriod</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10471</link>
                        <pubDate>Wed, 25 Jan 2023 16:52:16 +0000</pubDate>
                        <description><![CDATA[@ncantral Thank you!  That&#039;s an excellent idea.]]></description>
                        <content:encoded><![CDATA[@ncantral Thank you!  That's an excellent idea.]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Rick Piester</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10471</guid>
                    </item>
				                    <item>
                        <title>RE: Calculations using FinPeriod</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10470</link>
                        <pubDate>Wed, 25 Jan 2023 16:46:48 +0000</pubDate>
                        <description><![CDATA[I was just playing with a similar query. My solution was to join INItemSiteHist.finPeriodID to FinPeriod.masterFinPeriodID. This gives you access to the start and end dates for each period a...]]></description>
                        <content:encoded><![CDATA[<p>I was just playing with a similar query. My solution was to join INItemSiteHist.finPeriodID to FinPeriod.masterFinPeriodID. This gives you access to the start and end dates for each period and you can then use functions like DateAdd() to filter results.</p>
<p> </p>
3076]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>ncantral</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10470</guid>
                    </item>
				                    <item>
                        <title>Calculations using FinPeriod</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10469</link>
                        <pubDate>Wed, 25 Jan 2023 15:58:08 +0000</pubDate>
                        <description><![CDATA[I have a Generic Inquiry where I need to show the most recent 6 months sales of each item based on a defined ending period.
 
To collect the data for each month I use the following formula...]]></description>
                        <content:encoded><![CDATA[<p>I have a Generic Inquiry where I need to show the most recent 6 months sales of each item based on a defined ending period.</p>
<p> </p>
<p>To collect the data for each month I use the following formula:</p>
<p>=iif(=,Cint(),0)</p>
<p>=iif(=-1,Cint(),0)</p>
<p>=iif(=-2,Cint(),0)</p>
<p>and so on</p>
<p>"EndingFinPeriod" is a parameter selected when the user runs the inquiry.</p>
<p>This works when all of the months are within the year in the EndingFinPeriod.    If 12-2022 is selected, it shows the last 6 months of 2022.   But if 01-2023 is selected, it only shows that one month. </p>
<p>Is there an easy way to "do math" within a formula on FinPeriods?  Or do I need to dissect the fin period month and year?</p>
<p> </p>
<p>A bonus question:   Is there still no way in a Generic Inquiry to use a formula to vary what displays in the column caption?   </p>
<p> </p>
<p>An example result is below:</p>
3075]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Rick Piester</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/calculations-using-finperiod/#post-10469</guid>
                    </item>
							        </channel>
        </rss>
		