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

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

$
0
0

Hi Suman,

 

That's great!

 

Just a clarification:

 

1. Is this also possible in 0FISCPER?

2. What if I need the number of days of the last 3 months, do I need to setup the 0CALMONTH (in your example) as RANGE or just entering a single month the number of days will add up since I have three (3) different values of months?

 

For example:

 

I have these three (3) KFs:

 

ZSLM (Sales Last Month) - with

ZSLM2 (Sales Last 2 Months)

ZSLM3 (Sales Last 3 Months)

 

 

Then I made these SELECTIONS:

 

SEL1 - containing ZSLM and 0CALMONTH -1 (offset value -1)

SEL2 - containing ZSLM and 0CALMONTH -2 (offset value -2)

SEL3 - containing ZSLM and 0CALMONTH -3 (offset value -3)

 

 

So if I enter in my variable 0CALMONTH = 06/2013.

 

Will I have the NUMBER OF DAYS = 92? Is that right?


Viewing all articles
Browse latest Browse all 9159

Trending Articles



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