I want to get number of days in the month I've chosen from Timeline slicer.

I want to get number of days in the month
I've chosen from Timeline slicer,
does anyone know how to do?
The problem I want to solve is to divide
the number of customer visits as a salesman
made during a month by the number of
days in the month.

Excel 2013 Pro Plus with PowerPivot.
Count working days per month
considering weekends and holidays.
With help from book:
"Building Data Models with PowerPivot"
by Alberto Ferrari and Marco Russo.
Easy. Not.
http://www.mediafire.com/view/rw78t1y3bg8vm0c/04_10_15.xlsx

Similar Messages

  • Hi everyone, I have LR 5 that I purchased with a serial number and about a week ago I got the message about a new update, I want to get LR 6 but not the creative cloud, last time from LR4 to LR5 there was just an update without buying the creative cloud,

    Hi everyone, I have LR 5 that I purchased with a serial number and about a week ago I got the message about a new update, I want to get LR 6 but not the creative cloud, last time from LR4 to LR5 there was just an update without buying the creative cloud, is that possible from LR5 to LR6? Thanks so much.

    Welcome to Apple Discussions!
    You can't install 9.2.1 or earlier on any Mac that is only Mac OS X bootable. In fact you need to use the restore disks which came with those Macs to install 9.2.2 on those Macs. 8.6 is only possible to install on Macs which came with 8.6 or earlier. The 9.1 disk may be useful for your 1999 PowerMac G4, but won't be of any use for a 2006 Powerbook G4.
    Adobe Pagemill does not follow w3.org web publishing standards. If you want a webpage editor, get http://www.barebones.com/ BBEdit
    MS Office, there is a free Mac OS X alternative in http://www.neooffice.org/
    Or you can upgrade to the full Office 2004 for the Mac, or get http://www.thinkfree.com/ or Open OS X Office.
    Wordperfect files can be converted to Word files with http://www.dataviz.com/ 's Maclinkplus.
    Microsoft no longer has Internet Explorer for download (that quit being offered January 2006), though that is covered more in my FAQ:
    http://www.macmaps.com/browser.html
    As for other Mac OS X inquiries, I strongly recommend seeing my other FAQ:
    http://www.macmaps.com/macosxnative.html
    which should answer most of your other questions. If you have further questions, please feel free to ask me.
    Disclaimer: Reference to links I make to my Macmaps.com website are a for your information only type reference. I do not get any profit from this page, and it is open to the public.

  • How to get "Number of days" in a report on 0PM_DS02

    Dear BI Gurus,
    I need to build  a query on the PM DSO - 0PM_DS02 (MTTR/MTBR).
    The query has 0Equipment in the rows
    The fields Available Time | Breakdown TIme | Utilised Time in the columns for the time granularity selected.
    The field Breakdown Time is the calcaulted key figure Actual Outage Time from the DSO.
    The field Utilised Time  is a formula = Available Time - Breakdown Time.
    The issue I am facing is regarding the field Available Time.
    In the report the user needs time granularity in Month and Year.
    Basically the logic for the field Available Time = Number of days in the time period selected * 24
    where 24 = number of hours in a day.
    Now my issue is when the time granularity is month , the field should have the number of days in the month the user selects from the selection screen and when the time granularity is year, the field should have number of days in that year.
    Also during the query execution period, when the user changes the time granularity the report should also change the calculation for this field.
    (I can bring an extra field to the DSO, which will bring the available number of days in a month for each record)
    Can you please guide me how to map this scenario.
    Many Thanks in Advance,
    With Warm Regards,
    Vineeth

    Hi All,
    Waiting for your suggestion on this?
    With Warm Regards,
    Vineeth

  • Calculated item divided by number of days in a month

    Hello.
    I'm trying to create a calculated item, that is supposed to represent a column member, divided by the number of days in a month that's selected from the dashboard prompt.
    I know that I need an SQL function to get the number of days, but I don't think that you can use SQL functions when creating calculated items.
    Is there a way to do this?

    Looks like you are thinking too much
    Use expression builder in the rpd and then just use available functions without 2nd thought.
    if helps mark

  • Getting the day of the month

    I think it is kind of odd that the "day" property in the Date
    class will only return the day of the week and not the day of the
    month... How would you go about getting the day of the month
    selected lets just from a DateField entry... so lets just say some
    one does something like this
    var date:Date = DateFieldEntry.selectedDate;
    trace(date.day.toString());
    It give me back the day of that particular week in the
    month... but I really don't have any use for that... I need the day
    of the month! How would I go about getting that?

    yeah... I know the "date" property returns a numeric value of
    the current month, day and year... but I was hoping there was a
    property of some sort that I could just use instead of having to
    parse the numeric value returned for what I want..

  • Calculate the number of days in a month

    I need to do a calculation in my query based upon the number of days in the month. The report is broken down by cal year / month.
    Is there an easy way of identifying these values in the query?
    Regards.

    Hi,
      This can be done by writing an user exit code to determine the number of days in the month.
    Sample Code :
    <
    CHECK i_step = 2.
      READ TABLE i_t_var_range WITH KEY vnam = 'XXXX'
                               INTO loc_var_range.
      IF sy-subrc EQ 0.
        beg_date(6) = loc_var_range-low(6).
        end_date(6) = loc_var_range-low(6).
        beg_date+6(2) = '01'.
        end_date+6(2) = '01'.
        ADD 1 TO end_date+4(2).
        IF end_date+4(2) = '13'.
          end_date+4(2) = '01'.
          ADD 1 TO end_date(4).
        ENDIF.
        no_days = end_date - beg_date.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        l_s_range-low  = no_days.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    >
    Hope this helps..
    Thanks & Regards,
    Pradeep

  • How do I set a recurring event for the last day of the month on iphone 4s calendar?

    I want to set a recurring event for the last day of every month - regardless of the date/number of days in the month. I'd prefer not to have to use an app to do this.

    Hi,
    You can do this using the custom repeat in iCal. You'll need two events to cover the second and fourth Mondays.
    Create the event on the second Monday of the month. In Repeat select Custom... > Frequency: Monthly > On the: second Monday.
    Do the same for the Fourth Monday.
    Best wishes
    John M

  • How to interpret the current day of the month

    I am a rookie in java and am trying to play with the Calendar class.
    The DATE static field of this class says it returns "Field number for get and set indicating the day of the month."
    So, Calendar.DATE has to return the current day of the month.
    Today is 7th of january. So, it should return 7. But, I am getting a value of 5.
    I am very much confused. I fell that my interpretation os wrong.
    Please help.............
    Thanks in advance.

    You must NOT confuse the value of the constant Calendar.DATE (5) and how you can use that constant to retrieve the current day of the month.
            Calendar cal = Calendar.getInstance(); // Gets the current date
            int dayOfMonth = cal.get(Calendar.DATE); // Gets he current day of the month from the current date
                                                     // (Using the Calendar.DATE constant as method parameter).
            System.out.println("Calendar.DATE = " + Calendar.DATE); // Prints the constant
            System.out.println("dayOfMonth = " + dayOfMonth); // Prints the current day of month

  • How do i get number of days between 2 dates?

    How do i get number of days between 2 dates?
    and the result must be in int.
    for example
    Ex. startdate: 2006-06-01 enddate: 2006-06-30 and the result is: 30
    how to do so? thx

    mel
    Iv'e used this method. It assumes startdate,enddate and days have been defined before but you could pass them as args.
    void days()
        try
          Date d1 = DateFormat.getDateInstance().parse(startdate);
          Date d2 = DateFormat.getDateInstance().parse(enddate);
          long days = (d2.getTime()-d1.getTime())/1000/60/60/24;
          days = ""+days;
        catch (ParseException e)
          System.out.println("Invalid date format");
      }It actually gets the duration in ms and divides down to days.
    Regards
    Chris

  • How  can I get number of days between 2 dates ?

    How can I get number of days between 2 dates ?
    Give me answer as soon as possible.....

    Mukesh_Prajapat wrote:
    How can I get number of days between 2 dates ?
    Give me answer as soon as possible.....Is google broken again?
    [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]

  • How can i get number of days between two dates represented by two dates?

    how can i get number of days between two dates represented by two date objects. One is java.sql.Date, the other is java.util.Date?

    tej_222 wrote:
    But how do I do that conversion. from java.sql.date and java.util.date to calender?
    -thanks for the quick response.You may find the following utility code samples useful:
    [http://balusc.blogspot.com/2007/09/calendarutil.html]
    [http://balusc.blogspot.com/2007/09/dateutil.html]
    ganeshmb wrote:
    (date1.getTime() - date2.getTime())/(1000*60*60*24) should do.
    getTime returns millsecond value of date object and the difference divided by no of milliseconds in a day should fetch you the difference in terms of days.This doesn't respect the DST. Use java.util.Calendar.

  • SSAS Tabular - return number of days in given month using month's start date?

    Is there a way to return the number of days in a month by providing just the month date or month start date?
    We have a time table, but it is at monthly (not daily) granularity.
    So I can't just count rows between start/end of month.
    I need to be able to divide by the number of days in a given month and can't seem to find a way to get number of days in that given month.
    Thanks!

    Hi,
    According to your description, you want to get the number of days in a month with the month's start date, right?
    In this case, we can get the first day of next month using DateAdd function, and then use DateDiff function to calculate the number of days in this month. Here is a sample query for your reference.
    WITH
    MEMBER Measures.Today AS vba!Now()
    member measures.FirstDayOfNextMonth as dateadd("m",1,Measures.Today)
    member measures.daysnumber as datediff("d",Measures.Today,measures.FirstDayOfNextMonth)
    select Measures.daysnumber on 0
    from
    [Adventure Works]
    Reference
    http://msdn.microsoft.com/en-us/library/hh510163.aspx
    http://office.microsoft.com/client/helppreview14.aspx?AssetId=HV080007558&lcid=1033&NS=EXCEL%2EDEV&Version=14&tl=2&pid=CH080007543
    http://office.microsoft.com/client/helppreview14.aspx?AssetId=HV080007559&lcid=1033&NS=EXCEL%2EDEV&Version=14&tl=2&pid=CH080007543
    Regards,
    Charlie Liao
    TechNet Community Support

  • Number of days in a month

    I want to get this result in BEX. Please let me know how to get this. The result rows are shown below
    Month          Sales               No of days in
    ZCMNTH          $8000
    ZCMNTH-1     $7500
    ZCMNTH-2     $5000
    A sample of how the values should appear
    Month          Sales               No of days
    11/2005          $8000                    30
    10/2005          $7500                    31
    09/2005          $5000                    30
    08/2005          $9700                    31
    07/2005          $9850                    31
    So at query time how do I get the values for the number of days?
    Thanks for help
    Ram

    Gopalakrishna -
    I just ran across the same problem. Instead of using the RSR00002 enhancement I used the BADI implementation. I found it easier to understand and I think it will be easier to maintain. I couln't find a lot of good documentation (HOW TO... Use variable time references in currency conversions was helpful though) about how to do it so here is how I did it.
    1.In SE19 create an implementation based on rsr_olap_badi
    2.Tell it which infoprovider(s) to look for under Defined Filters. (You can use wildcards here if you want)
    3.Click on the Interface Tab and double click on the implementing class.
    4. Define attribute on the Attributes tab. Characteristics must start with P_CHA and key figures must start with P_KYF ex. P_CHA_0CALMONTH2, P_CHA_0CALMONTH, P_KYF_ZNUMDAYS all must have type I.
    5. In methods tab double click the define method. Here is where you tell it which characteristics and key figures to look for. Here is an example.
    DATA: l_s_chanm   TYPE rrke_s_chanm,
            l_kyfnm     TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm.
      CASE i_s_rkb1d-infocube.
        WHEN 'YOUR_CUBE_TECHNICAL_NAME_GOES_HERE'.
        characteristics
          l_s_chanm-chanm = '0CALMONTH2'.
          l_s_chanm-mode  = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
          l_s_chanm-chanm = '0CALYEAR'.
          L_S_CHANM-MODE = RRKE_C_MODE-READ.
          APPEND L_S_CHANM TO C_T_CHANM.
        key figure
          l_kyfnm = 'ZNUMDAYS'.
          APPEND l_kyfnm TO c_t_kyfnm.
      ENDCASE.
    ENDMETHOD.                    "if_ex_rsr_olap_badi~define
    6. Double click on the compute method. Here is where you will populate the key figure. Here is an example. I had to wirte a function module because we only wanted work days versus all days of the month. But you get the idea.
    METHOD IF_EX_RSR_OLAP_BADI~COMPUTE .
    FIELD-SYMBOLS: <L_YEAR>    TYPE ANY,
                  <L_MONTH>    TYPE ANY,
                  <L_WORKDAYS> TYPE ANY.
    if P_CHA_0CALYEAR <> 0 AND P_CHA_0CALMONTH2 <> 0.
       assign: component P_CHA_0CALYEAR of structure C_S_DATA to <l_YEAR>,
             COMPONENT P_CHA_0CALMONTH2 OF STRUCTURE C_S_DATA TO <L_MONTH>,
             COMPONENT P_KYF_ZNUMDAYS OF STRUCTURE C_S_DATA TO <L_WORKDAYS>
    CALL FUNCTION 'Z_SELECT_FACTDAYS_FOR_PERIOD'
           EXPORTING
                     I_MONTH    = <L_MONTH>
                     I_YEAR     = <L_YEAR>
                     I_FISYRVAR = I_FISYRVAR
           IMPORTING
                     E_WORK_DAYS = <L_WORKDAYS>.
    endif.
    ENDMETHOD.                    "IF_EX_RSR_OLAP_BADI~COMPUTE
    That is it, if you included the correct fields in the attributes and the correct infoprovider in step 2. When you use those fields in a query it will populate znumdays with your calculation.

  • Number of days in current month

    Hi all,
    I have a reporting situation, where I need to calculate the total
    number of days in the currrent month based on system date/calender date. Do we have a standard function to return this value? Or any
    variable? Or if you have done something similar, please let me know.
    This is what I need. If today is July 28, then I need the value 31 to be returned. If its February, 28 or 29 dependinng on whether its leap year or not. I want to use this value to calculate other values.
    Any help appreciated Guys !!!

    LAST_DAY_IN_PERIOD_GET should get you started..
    Good Luck

  • FM which gives the date if we add 'x' number of days to the current date.

    Hi all,
    can you plz tell me the FM which will give me the exact date if i add some ' X ' number of days to the present date.
    in detail -->my inputs would be    1)DATE
                                                    2)no of days
    i need--> the exact date which comes after those days get added to the given date.
    PLZ HELP ASAP.
    Rgds,
    REDDY.

    Hi,
    You can use FM RP_CALC_DATE_IN_INTERVAL.
    data: wa_date  like sy-datum.
    *Add 21 days to current date.
    call function 'RP_CALC_DATE_IN_INTERVAL'
             exporting
                  date      = sy-datum
                  days      = 21
                  months    = 0
                  signum    = '+'
                  years     = 0
             importing
                  calc_date = wa_date.
    write: / wa_date.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • Is it time to upgrade to an imac

    Hi.. I currently work on Logic 9 and kontakt 8 library and some other au instruments.. All of this is connected to a 2009 MacBook with 2gb ram. My only question to the experts is whether a ram upgrade would let me work full fledgedly or is it time fo

  • IPhoto folders are all messed up and my pics arent showing up correctly..

    I tampered with the iPhoto folders...I renamed files and moved things around thinking I was organizing things.. but now my photos in iPhoto arent working correctly. Some photos show a thumbnail but dont open.. and all I get is a gray screen with an e

  • Unable to transfer songs from itunes to iPod

    After a long time trying to get this iPod to function again,I am now unable to transfer some songs on to the iPod.When I attempt to drag and drop a song ,it doesnt want to know.Currently also,the iPod is not recognised by the desktop.Well!!!...It doe

  • Adobe Exchange in Flash CS6

    Why isn't it working? It says it is already installed but when I go to Windows>Extensions, there's nothing there.

  • Are you like apple

    Yes I like apple phone because its a very smart phone and all apps are avilable.......