Kind of month

Hi all
In a report, I have the following fields

CNTYPE DATE ESTFEE ACTUALFEE

I added the CNTYPE as sort of group and then added another kind of Group on the date field, what I expected was to sort and group by month, I mean it should give all the records for August instead of every day in the month of August... any help is greatly appreciated.

Thank you

Hello
If you are a grouping on a date, then it will total by date. In order to regroup and total per month either bring during the month in the folder, if you have such an item, or create a calculation for the month.

This will give you the entire month, the year added in case you have several years in your report: TO_CHAR (YOUR_DATE, ' MON-YYYY "")

If you have only one year, then it will work: TO_CHAR (YOUR_DATE, 'LUN')

If you place this new calculation in your report, delete the kind of Group on your date and add some kind of Group on this point, then your totals will not work.

If I may add a word of caution, please do not use words reserved Oracle under the names of your articles. I'm assuming that your date field is not named DATE. If it is please rename it to something like INVOICE_DATE or ORDER_DATE using underscore. The use of reserved words in element names can cause problems when sorting, totaling and especially inside the calculations.

Let me add one more word of advice. You will find that the names of months do not sort correctly. They will will file in alphabetical order which will be implemented January after February with mars after that and so on. How to solve this problem is to create a new item inside your end-user for the month license by adding a secondary sort on the date. Then inside your reports they sort and display in the correct order.

In the meantime, if you use Discoverer Plus you can use the number of months or precede the name of the month with the number.

To use only the month number change your calculation to this: TO_CHAR (YOUR_DATE, 'MM')

Now January 1, February will be 2 and so on

For the prefix of your initial calculation with a certain number of months, to do this: TO_CHAR (YOUR_DATE, ' MM-LUN')

Best wishes
Michael

Tags: Business Intelligence

Similar Questions

  • Error using variable presentation of Expression SQL

    Hi all

    I get an error - '... Error to break information... "due to a variable used in a SQL Expression. It probably has something to do with a problem of data type. I have reduced the use of the presentation of the error variable.

    I'll put a variable pres_mth_nme_to, presentation, from a prompt of dashboard. The line contains a month name.
    I use the variable of presentation as part of a SQL Expression in a filter. Most of the SQL Expression is to use the
    presentation in ONE variable and assign a value accordingly. For example:

    Column: kind of month value
    Operator: between
    Value: * 10 *.
    SQL expression: * case @{pres_mth_nme_to} {a few default} WHEN "NOV" THEN '10' WHEN 'DEC' THEN '11' WHEN 'JAN' THEN '12' WHEN 'FEB' THEN '13' WHEN... END *.

    The name of the month is in character. If I was in this hard-coding, I don't get the error. For example:
    CASE 'SEP' WHEN 'NOV' THEN '10' WHEN 'DEC '... END

    It is something to do with the data type of the command prompt and to be used in the comparison. If I use a CAST, the problem persists.

    CASE DROPS (@{pres_mth_nme_to} as char (3)) WHEN 'NOV' THEN... END

    If I'm in the responses, the problem does not exist, I guess because of default values. If I'm on the dashboard, there is not, I guess because of the reception of the prompt value.

    I don't know what I'm missing. Any suggestions?

    Thank you.

    DJ,

    If the formula presented by you is exactly true, I mean that it was not made to present as an example in the forum, you must include the variable presentation between apostrophes.
    either your formula should look something like
    Case ' @{pres_mth_nme_to} {a few default}' WHEN 'NOV' THEN '10' WHEN 'DEC' THEN '11' WHEN 'JAN' THEN '12' WHEN 'FEB' THEN '13' WHEN... END

    Let me know if it solved the problem...

    -bifacts
    http://www.obinotes.com

    Published by: bifacts on October 25, 2010 13:50

  • I'm trying to download a month of the trial of adobe muse and he asks me to open an application.  I don't know what kind of application I should open.

    I'm trying to download a month of the trial of adobe muse and he asks me to open an application.  I don't know what kind of application I should open.

    Hello

    To download the latest version of Muse, you must install the first Adobe application and install it. Use this application to download Muse,

    Get Adobe Creative Cloud desktop application & Adobe Application Manager

    If you still have questions, please let me know.

  • Is there independent configurations, or just that kind of creative things Cloud with monthly cost? I tested the Lr5 before trial and now wishes to purchase the full version, but not interested and won't pay a monthly fee for it. All the opti

    .. .and the same thing here, I apparently just typed in the header...

    Is there independent configurations, or just that kind of creative things Cloud with monthly cost? I tested the Lr5 before trial and now wishes to purchase the full version, but not interested and won't pay a monthly fee for it. The options seem to grow the CC, but would like to know if there is any means possible to get the version stand alone more. Thank you in advance!

    Frustration is closer...

    There is still an option purchase on https://www.adobe.com/products/catalog/software._sl_id-contentfilter_sl_catalog_sl_softwar e_sl_mostpopular.html

    Make sure you only select between upgrade/Full and Mac/Win.

  • Hello, the basic version of photoshop €12,09 / month comes with options for editing 3D, or is it a kind of plugin?

    As indicated in the title, I would like to know if the simplest version of photoshop shipped with-editing 3D options

    Kind regards

    Stijn

    Hi Stijn,

    Yes, Photoshop CC subscription includes 3D. No additional plugin is required for the same however, you must ensure that your system meets the minimum requirements in support of 3D:

    Adobe Photoshop CC GPU (graphics processing unit) and card FAQ video

    Configuration of Photoshop

    Kind regards

    Claes

  • I need to change the credit card and cardholder of credit of our monthly plans... but I can't find any button billing. could you kindly say?

    Hi all

    I need to change the credit card and cardholder of credit of our monthly plans... but I can't find any button billing.

    can't find any support by adobe regarding billing issues.

    anyone of you could help me?

    Thank you

    Inga

    Change in the information of credit card to join creative cloud

    (1) connect to creative.adobe.com.

    2) click on the manage my subscription.

    (3) to change my billing information

    For the invoice

    (1) connect to adobe.com

    (2) go to my orders and select the order number, print the invoice here

  • What kind of pen or tool to use when filling in color? I really need to talk to a one one to begin on this.  Otherwise you cannot purchase monthly subscription.

    I am new to this.  I'm going to need a special pen or a tool to make my changes?

    for most of the adobe software, it's a paint bucket tool.

    for specific info, what program?

  • noticed the same problem, my friend had 2 months in hardware of the iphone 6!

    Hello

    I use the iphone 6, which is out of the now (india) warranty period. I noticed a problem on the screen detaches from the main frame around one of the edges. It's the same problem happened to one of my friends who ultimately involving more areas progresed and encrypted him a good amount of money to repair! I searched online on the issue and learned that this has happened to many! I'm pretty sure that's not due to mishandling (which can easily be checked during the inspection) atleast in my case!

    I called apple in India care a couple of hours. Care agent told me that they can't do anything on this issue since his release from the warranty period (even if it's a manufacturing defect). I have a strong feeling that my question has not been properly processed there. Is not a manufacturer, selling a defective product ensuring there will be no problem in the first 6 months and declaring that they are not rsponsible for what past of the next day. It should not be considered on the side of manufacturers, it should rather be on the side of the average consumer, who spent a good amount of money to purchase!

    Kindly understand that I don't have time to run in the stores of stores and calls calls! I need a solution to the authorities of apple before moving on to the Court in India on behalf of fellow sufferers!

    Thank you

    Hello

    You don't talk to Apple here - it is a community of used-based technical support.

    If you are unhappy with the decision that is provided by Apple, you will need to discuss the issue with them.

  • find a history of all the sites I went in the last 6 months (need date), unfortunately, about 3 months ago I seem to have clean all my browser history

    I would check when I went on the specific website over the past 5 months but my browser history starts just 3 months back. I had some problems with yahoo rather than taking my browser and I had to remove and reinstall firefox. Is there somewhere in my apple macbook pro a place where my browser history will be stored?

    Dear Mary,

    Unfortunately, when you remove history, it is possible to recover.

    I hope that I helped you.

    Kind regards

    UserHelp

  • Count of the number of days in a calendar month according to the year

    Hi all

    On my table, column 1 is the list of months over several years.

    Column 2 is the activity number od each month.

    Column 3 I want an average rate of activity per day during the month, which should be: (C2 / number of days according to C1) %

    Problem: I can't find a fomula give me the number of days, particularly in February when the year is leap.

    Any help is appreciated.

    Thank you all,

    Lopez

    PS: by the way, with this new version of Apple Comunity I seem to have lost my previous questions about the numbers.

    Hey Lopez,

    EOMONTH(A1,0) (end of month) will GET help you.

    Column B is Date & time format to display only the month and year (actually the 1st of the month, but the day is not displayed).

    Formula in C2 (fill down)

    = EOMONTH(B2,0)

    The end of the month 0 months later.

    Formula in D2 (fill down)

    = DAY (C2)

    February 2015 (non-leap years) shows 28

    February 2016 (leap year) shows 29

    Kind regards

    Ian.

  • twice a month

    Hello

    I have a table where I have a date in a column and a number in the next, I want to make a table that tells me how many times I made an entry for each month from January to December. I've tried searching and not found anything I can work on / use, although I'm a noob when it comes to formulas etc. so could not be interpreting the right to information.

    Any help appreciated gratefully.

    See you soon

    Rich

    Hi 3dthunder,

    Add a column to contain the number of months in each date in column A. In the example below, I used the column C of table 1. This column can be hidden.

    The count is done on a second table, table 2.

    Formulas below.

    Formulas

    Table 1::C2: = MONTH (A2)

    Table 2::A2: = MONTHNAME (ROW (−1))

    Table 2::B2: = COUNTIF (Table 1::C"," & ROW (−1))

    (It comes to the formula below the tables).

    Complete each form until the end of his column.

    The names of months in table 2 can be entered directly from the keyboard, if you wish.

    Kind regards

    Barry

  • All new iMac 5K dies after a month

    My latest iMac was a mid-2006 iMac Intel Duo2 which lasted 9 years. After a lot of contemplation on a template, I recently replaced by top-shelf configuration to a new iMac 27 "5K i7 4.0 GHz with 512 GB SSD and 16 GB of RAM. I bought this about a month ago. I had a single instance of the iMac to sleep but does not wake, who magically fixed itself. Yesterday, I saw my iMac fade to sleep, you press the USB keyboard. Nothing. I tried all kinds of technical support and hardware/power resets. Nothing. The unit is covered by the warranty and the long-term care plan, but the end result is out-of-commission the days with a repair. What happens here? Does anyone else have this problem? I'm not expecting one of the products the most expensive Apple have unexpectedly die. I know that Apple will fix and make it right, but what kind of remedies customer service I have here? I couldn't even find a mechanism to express my complaint and my sense of frustration. What can I do to make me feel like Apple recognizes the stress and inconvenience of this?

    I feel your pain. Around 2005, I bought a new laptop Mac that was almost dead on arrival. He was here Saturday night not the time to get back to the store and no chance to do anything until Monday afternoon. But this experience, like yours, is the case of 1%. In my work I have put in place and set up thousands of Mac computers and a very small percentage have been DOA or have died in the first weeks of the property. It happens. Make an appointment with a Mac Genius or find an authorized service center and take the computer for repair.

    Your computer has a 1 year warranty, and the fact that you bought AppleCare shows that you understand the risks of buying expensive electronic equipment.

    < edited by hosts >

  • Can u download music during the 3 month free trial and keep these songs after it ends?

    I kinda want to do the free trial but I fear when it is that I won't get to keep my downloaded songs

    Hello sylvie13,

    Thank you for using communities of Apple Support.

    I see that you're wondering on downloading music for listening offline when you use the Apple trial music of 3 months.  The trial behaves like normal subscription works and allows full functionality of Apple's music and iCloud music library.  If you recorded any music for listening offline, and you decide not to continue with a subscription to Apple's music, then you will not be able to play this music.

    If you do not renew your subscription to Apple's music, the songs you downloaded remain on your computer, but you cannot play them up to that join you.

    12 iTunes for Windows: Stream or download unlimited songs with Apple music

    Take care.

  • Year (date) and Month (date) "YYMM" in number.

    In the column 'G' I use the formula = month (date)

    In the column 'H' I use the formula = year (date)

    Is it possible to use the formula above to create a "YYMM' as the column 'I '?

    Column 'G and H' will be deleted if the column 'I' is the work.

    Hi LV.

    Here is an example of use of Numbers ' 09. The first method (in column (C) is feasible in 3 numbers; the second is maybe not.

    Columns C and D are left in the default auto format (and alignment).

    Column C, automatically align left, excerpts from the last two formatted numbers Year() then extracts and oncatenates the last two digits of a string built consisting of two zeros & the number Month() one or two. The result is a text string of four digits, as shown.

    C2 and filled down: = RIGHT ((B), 2 YEAR) & RIGHT ("00" & MONTH (B), 2)

    Column D simply copies the string Date and time of B and displays it by using a custom format, showing that the two-digit year & the monthnumber double-digit.

    D2 and filled down: = B

    Custom format for the cells D2 - D8:

    Kind regards

    Barry

  • Could not do a monthly subscriptions even call made? can I be reimbursed?

    Hi I recently bought a monthly subscription, but I really struggled to communicate with friends via Skype monthly subscription telephone calls - and finally I just gave up, as we could not really speak this end via Skype - Skype subscription to their landline number or mobile phone number. They do not even live in a rural country, they live in the cities.
    But each time, the call quality was terrible. Both ends could not really hear what other talks end as the voice has not been transmitted continuously.

    Can I have money back guarantee, even I kept your comments, but there was no other action performed by Skype.

    Thank you

    Thanks, but it was too late so I couldn't use this normal procedure. However, I managed to find a center of discussion of the Skype team and explained the situation, and she has settled that the.

    They asked me to do this kind of report to them directly in the future, because soon, I have suffered this faulty network.

    Chat support is that when people really stuck with the problem, I thought, as this time I didn't use the refund form, which you mentioned, like, they put the time limit (only 14 days) for people to make a claim about the return.

    Thanks anyway.

Maybe you are looking for

  • The exported photos has random resolution

    Photos Version 1.5 (370.42.0) When I export from RAW to JPEG with full-size or custom is always to export images as 20% I expected and the rest with a small resolution. I checked the original size of the raw and all goes well, so some BUG and problem

  • If I reset mozilla firefox, it deletes I'v written stories?

    I used to use aol, but it has been infected. I switched to mozilla several months ago. My computer just switched back to aol. The instructions to reset, list of things that remain. I guess that the stories I wrote are included - BUT IT does not SAY T

  • HP 4620 All in one Printer

    My printer frequently does not respond when I click on print.  I have to again shut the printer down, power, and then it works for a while.  But if I do not use it for an our or so, he will not and I have to repeat the stop and power over the process

  • I am alone in the world cannot remove a Milanese watch band?

    Milanese watch band file trouble

  • HP Probook s 4330: HP Probok 4330 s SSD - OS upgrade not recognized

    I just bought this laptop from my school and wanted to spend Hitachi 320 GB HDD with a new BX100 250 GB SSD. The HARD drive works and is currently running Windows 7 Professional. Im trying to install the SSD with Windows Professional 8.1. Initially I