Viewing 15 posts - 1 through 15 (of 47 total)
Thank you everyone for your help. Looks good with both solution.
January 12, 2024 at 1:46 am
yes that is right two consecutive previous months.
January 12, 2024 at 1:24 am
Thank you every one it work the way you guys told me. Appreciate all your help.
September 8, 2022 at 1:24 pm
There is no way i can do in SQL so i wrote SP now it is working.
Thanks for the input.
August 6, 2022 at 3:03 am
Thanks for output but change in the requirement so this will not work.
This is new requirement i got it.
August 1, 2022 at 5:03 pm
Thank you everyone works the way i want.
May 15, 2022 at 7:41 pm
Here is updated excel this is what I need it that why i have formula
calculated by adding all the transfers in and subtracting all the transfers out from the previous
account...
May 5, 2022 at 6:45 pm
Thanks but this one not working as excpeted.
May 5, 2022 at 5:16 pm
Sorry again
For first month balance is trans in 12962.04- 7802.66 trans out = 5159.38
For second month balance is trans in 14966.54 - ( first month of balance which is 5159.38...
May 5, 2022 at 4:50 pm
sorry Phil my bad. here is create of table and insert data
CREATE TABLE [dbo].[final_data](
[account_id] [varchar](50) NULL,
[tran_in] [decimal](38, 2) NOT NULL,
[tran_out] [decimal](38, 2) NOT NULL,
[Month_Cal] [int] NULL,
[Year_cal] [int] NULL
) ON [PRIMARY]
GO
INSERT...
May 5, 2022 at 12:40 pm
File attacted
May 5, 2022 at 4:15 am
Thanks Mark. Really appreciate for fast response. Really help me.
August 18, 2021 at 3:23 pm
Thank you very much i need it like way without cross apply and it work perfectly as you maintain. I really appreciate it.
October 14, 2020 at 7:48 pm
is there any other way if anyone knows.
October 14, 2020 at 5:13 pm
Viewing 15 posts - 1 through 15 (of 47 total)