Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
How can i find the number of days in the month?
Regards,
Pramod
=Num(MonthStart(Max(DateField)) - MonthEnd(Min(DateField)))
Change the DateField according to your requirement.
Or simply try
=day(monthend(today() ) )
=Num(MonthStart(Max(DateField)) - MonthEnd(Min(DateField)))
Change the DateField according to your requirement.
Or simply try
=day(monthend(today() ) )
If you already have year and month calculated from date. You can use below expression
= sum(aggr(count(Date),Year,Month))
something like:
= sum(aggr(count(day(Date)),Month))
Hi,
Try like this
LOAD
*,
Num(MonthStart(DateField) - MonthEnd(DateField) + 1) AS NumberOfDaysInMonth
FROm DataSource;
Hope this helps you.
Regards,
jagan.
Day(Monthend(Today()))