Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

Opening and closing stock for Every month

Dear All

I want to generate following type of chart  and I am attaching the excel sheet opnclosing.xls which is having

all the data opening stock data + receipts data - issue data = closing for that month for only one product

EXPECTED OUTPUT
AS PER SELECTION OF FINANCIAL YEAR
CYCLOPAMOPN STKTOT RECTOT ISSUECLOSING
APR25405002002840
MAY2840300503090
JUN3090120001500090
Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
11 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     In your excel sheet the Total issue and Total Receipt have same data.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
vikasmahajan
Author

Dear Sir

I have modified excel sheet please reply for this post ?

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
abeyphilip
Creator II
Creator II

Hi Vikas,

I am not sure I understood your issue correctly.

Made couple of changes in your QVW (in load and the front end expressions) based on my understanding.

Please see if this is what you are looking for. If not, please explain more on the expected output.

Regards,

Abey

vikasmahajan
Author

Thanks for Reply I want  This is for one month this way I want to summary  April to March along with closing balances.

MonthOPENING STOCKTOTAL RECTOTAL ISSUE COLUMN(1)+COLUMN(2)-COLUMN(3)
Aug1880378492104547350352066388
Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

Dear Sir ,

Following are my expression when I put in opening bal. column values are appering other than aug month also I want single line Please refer attached jpg.

SUM({$<FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"<$(=Monthstart(min([Posting Date])))>=01/04/2012"},Inv_Doc_Type_FLAG={'OPSTK'}>}INVQTY)  /* Closing Qty of prev month*/

Awaiting for your reply.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

Dear Sir

Any luck on this issue ?

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Here is the solution.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
vikasmahajan
Author

Thanks Sir,

I will get back you after checking .

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

Dear Sir,

I have take Variable  vinvOpn using following formula

=SUM({$<FinancialYear=,Quarter=,MonthName=,[Posting Date] ={"<$(=Monthstart(min([Posting Date])))"}, Inv_Doc_Type_FLAG={'OPSTK'}>}InvOpening)

IF you observe  attached sheet  I am getting  1055611 opening balance repetitive for every month where as I use formula

=iF(Rowno()=1,vInvOpn,Above(Column(4)))  to show opening balance and column(4) is closing , Now my problem is opening is not changing as per closing balance  , Please give your suggestions.

INV_MONTHProduct Code=iF(Rowno()=1,vInvOpn,Above(Column(4)))
SUM({$<FiscalYear={2014},[Inv_Doc_Type_FLAG]={TOTREC} >} [Receipts] )
//sum(Receipts)
SUM({$<FiscalYear={2014},[Inv_Doc_Type_FLAG]={TOTISSU} >} [Issue] )
//sum(Issue)
=COLUMN(1)+COLUMN((2)-COLUMN(3)
41CY4105561128920893006480941220
51CY41055611546648949673931554707
61CY41055611571452850628811707258
71CY4105561144867704698355844026
81CY41055611492104547350351241621
Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.