Hi Experts,
I have got an requirement to calculate the days.In my report I have two columns Months and days. And I need to calculate the total for months and days,but there is a condition for the days calculation, client wants if the days calculation is coming more than 30, it should add in the months column and remaining days should be in days column.we are taking ( 30days =1 month ) into account.
Lets say:
In the below screenshot, days calculation is coming more than 30.
So my requirement is, if we take above screenshot scenerio,
The output what client wants is as follows :
Months Days
6 24
2 28
--------------------------
Total : 9 22
--------------------------
Here Total Days = 52 =( 52-30)=22 and Out of 52 days I have taken out 30dayswhich is nothing but( = 1month) in my scenerio and should be moved to months column and remaining 22 days should be in days column now..
Appreciate for your quick responses.