Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8511

Re: count number of days in a month (query designer)

$
0
0

Hi Anshu,

 

I have tried what you have said..

 

It is working however only the 1st month that I select..

 

For example:

 

I have a variable of 0CALMONTH - interval..

 

So if I select 02/2013 - 04/2013, the No. of Days will only give me 30 days = which is for APRIL 2013..

 

I need to have the value 89 for 28 (FEB) + 31 (MAR) + 30 (APR)..How can I achieve that?

 

I also tried making 3 selections where I will input only 1 month and I made an OFFSET for the other 2 selections..

 

For example:

 

Selection 1 = ZVAR_MONTH

Selection 2 = ZVAR_MONTH -1

Selection 3 = ZVAR_MONTH -2

 

However, their output are the same giving me the number of days only of APRIL..

 

OUTPUT:

 

FEB               MAR               APR

30                  30                   30

 

 

Do I still need to do something?

 

Thank you!

 

Loed


Viewing all articles
Browse latest Browse all 8511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>