Are you asking for Dax fomula ? You could elaborate more about Beg. Inventory or End Inventory, currently I have found any column named like this.
I guess you are looking for expression like this :
=CALCULATE( AVERAGE('TblName'[Balance])' , Filter(TblName'[Period] = 2 or 'TblName'[Period] = 3), Filter('TblName'[Account Number]=13000) )
If this is not what you want, please clarify the request with more details.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
What can I do if my transaction log is full?--- Hot issues November
How to convert Profiler trace into a SQL Server table -- Hot issues November