Sorting month Chronologically ( column 1 )
I have a cross tab report showing "agent performance" by "month", the report is laid out like this
April-2010 Feb-2010 Jan-2010
Average handle time
Average talk time
Everything works as it should except the way the months are sorted. The months are being sorted alphabetacally instead of chronologically. In other words, I would like jan-2010 come first followed by Feb-2010 then march 2010 and so on.
I guess some formulas need to be used. Any help will be greatly appreciated.
Thanks
Param
Hi Paramads, I assume you are not deaing with a true date.
so...
You can create a grouping formula,
If {Your Field) = "Jan" then 01 else
If {Your Field) = "Feb" then 02 else
If {Your Field) = "Mar" then 03 else
etc... thru
If {Your Field) = "Dec" then 12
This assume you are dealing with a month name instead of a number, if this does not help,
post what your data actually looks like.
Similar Messages
-
Sort the month name column based on month id in rpd itself only
sort the month name column based on month id in rpd itself only without creating the logical column.
Hi,
sort the month name column based on month id in rpd itself only without creating the logical column. Can you be bit specific?
Is this what you want..http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=368
Regards,
Srikanth
http://bintelligencegroup.wordpress.com -
How to sort on Multiple columns in WebI report
Hi
I am working in BO XI R2. I have a report containing two columns in a section. Section is on Fiscal Year- Fiscal year includes calendar year 2010 and 2011.
data for fiscal year 2010 is from october onwards.
The two columns in the section are
column 1- calendar Year
column 2- calendar Month
I want to display results as follows
2010 oct
2010 nov
2010 dec
2011 jan
2011 feb and so on.
I first sorted calendar year column so that it shows
2010
2011
but when i try to sort calendar month, for 2010 I am able to display oct, nov, dec in a ascending order but for 2011 the months are displayed randomly. Business user wants to see them in ascending order from Jan to June.
Please let me know how to get this functionality in the report.
Thanks in advance.Hello Gurus,
I have same issue with me I am working on XI3.1 and I want to apply Sort on multiple columns on Single block.
So as you can see the "Org Name" is decending Order and " Emails Sent" total is 63 and "BCB" have 18 total.
How would I apply sorting based on email sent from high number to low number. Please help.
Thank you.
Adil
Org Name
Org Tax ID
Org ID
Email
Emails Sent
Undelivered Emails
Well Shot
11111111
22222222
[email protected]
32
0
11111111
22222222
[email protected]
12
0
11111111
22222222
[email protected]
10
0
11111111
22222222
[email protected]
9
0
Well Shot
Subtotal:
63
0
Org Name
Org Tax ID
Org ID
Email
Emails Sent
Undelivered Emails
Well Play
444444444
33333333
[email protected]
1
0
WellPoint KY Test Org - Central
Subtotal:
1
0
Org Name
Org Tax ID
Org ID
Email
Emails Sent
Undelivered Emails
BCB
55555555
99999999
[email protected]
8
0
55555555
99999999
[email protected]
8
0
55555555
99999999
[email protected]
2
0
BCB
Subtotal:
18
0
Org Name
Org Tax ID
Org ID
Email
Emails Sent
Undelivered Emails
Ghazi, Foundation
77777777
8888888
[email protected]
1
0
77777777
8888888
[email protected]
1
0
77777777
8888888
[email protected]
1
0
77777777
8888888
[email protected]
1
0
77777777
8888888
[email protected]
1
0
Ghazi, Foundation
Subtotal:
5
0
Availity Orgnaization Name
Org Tax ID
Org ID
Email
Number of Emails Sent
Undelivered Emails
Ghazi, Foundations
66666666
1234567893
[email protected]
1
0
66666666
1234567893
[email protected]
1
0
Ghazi, Foundations
Subtotal:
2
0
Totals:
89
0 -
Hie Guys,
I have a dimension object - "Month" with values - 1, 2, 3, 4 as of now as the current month is April. I have created a variable for the "Month Name".
The formula is given below.
If (Month = 1) Then "Jan"
Elseif (Month = 2) Then "Feb"
Elseif (Month = 3) Then "Mar"
Elseif (Month = 4) Then "Apr"
Elseif (Month = 5) Then "May"
And so on ......
Now, my report has a cross-tab showing monthly employee hours. When using the "Month" object, I am able to sort it in ascending (1,2,3,4) or descending order (4,3,2,1). But, when I use the "Month Name" object, the months are not in order. I sorted the object with custom sort, but, since there is only data till the current month, I am only able to get - Jan, Feb, Mar & Apr in the report. In this case, when data is available for the next month, I will have to rearrange the sorting order again. Could anyone please tell me what I need to do in order for the "Month Name" column to automatically sort in order as new Month data becomes available (i.e. Jan, Feb, Mar, Apr, May, June, July, Aug, Sept, Oct, Nov, Dec)? Thanks.Hi jeewan Pandey
This trick will work
Trick 1
1) place the Month number in cross tab coulumn
2)Now Create condition rule in 4.x , alterter in 3.x
3)Click on formula and enter the formula you had wirtten or add the month name in that
4) Now you will see the month names intead of month number on cross tab column
Trick 2
1) Place the month number on cross tab
2) place the month name above the month number in cross tab column
3)Now right click on cross tab and hide the month number dimension
Hope this will help you
Let me know still the solution is not resolved -
I have downloaded and installed the latest version of numbers on my mac. Everytime I save and then try to reopen that document, I receive a message telling me that I need a new version of numbers. Also, when I try to sort the date column, it sorts out of order. The last version sorted fine.
Welcome to Apple Support Communities
When you install the new iWork version, the old iWork version is kept, so it looks like you are opening your old version.
To fix this, open a Finder window, choose Applications in the sidebar and drag the new Numbers version to the Dock, so you can access to it quickly. Open all documents from this version. I don't recommend you to delete the old Numbers version in case you need it.
Respecting to the second question, you will get better answers in the Numbers for OS X forum -
I can't sort a single column only (ignoring the next column)
I can't sort a single column only (ignoring the next column) in NUMBERS
Numbers sorting follows a database model in which each row is a 'record' rather than a collection of unrelated data items. When a table is sorted, the integrity of the individual records (rows) is maintained.
If you need to sort a single column, that column (or its data) must be separated from the rest of the table.
That can be done using copy/paste (as described above by Wayne), or by taking the column to be sorted out of the table, dropping it on the sheet to form a new, single column table, doing the sort, then returning the column to the original table.
The 3 1/2 step process takes longer to describe than to do.
Regards,
Barry -
How to disable sorting for some columns in a ALV GRID?
Hi i have requirement where I have to disable sorting for some columns in a ALV GRID. i am using REUSE_ALV_GRID_DISPLAY function module.
Can anybody help me. how to acieve this? Any code snippets will really be appreciated.Hi,
I have tried this but not completely successful. I think this can be done using the OOPS method.
DATA: it_event_exit TYPE slis_t_event_exit.
DATA: w_exit TYPE slis_event_exit.
w_exit-ucomm = '&ODN'.
w_exit-before = 'X'.
CLEAR w_exit-after.
APPEND w_exit TO it_event_exit.
w_exit-ucomm = '&OUP'.
w_exit-before = 'X'.
CLEAR w_exit-after.
APPEND w_exit TO it_event_exit.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = w_repid
i_callback_top_of_page = 'ALV_TOP_OF_PAGE'
i_callback_html_top_of_page = 'ALV_HTML_TOP_OF_PAGE'
i_callback_user_command = 'USER_COMMAND' <- User command form
is_layout = wm_layout
it_fieldcat = wt_fieldcat
it_events = i_events
it_event_exit = it_event_exit <- Need to fill
it_sort = wt_sort
i_default = 'X'
Now you can capture this events in the user command
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
IF r_ucomm = '&OUP' and rs_selfield-SEL_TAB_FIELD = 'Your field name'.
ENDIF.
ENDFORM. "user_command
In this form you will get the function code in 'r_ucomm' and the field selected for sorting in 'rs_selfield-SEL_TAB_FIELD'. But reseting 'r_ucomm' will not work.
May be somebody else can give some help on this.
But this will work if you follow the oop method.
Please see this document for more info.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf
Thanks
Vinod -
Sorting by Multiple Columns in Numbers 3.0
The new Numbers 3.0 update has moved some stuff around I need, and can not find.
Where is "Reorganize"? The ability to sort multiple by columns. (e.g. Sort Ascending Column A, THEN Column B, THEN Column C)
mfthis didn't work for me - i have item, then price, then checkbox. using the formula just gave an amalgamation of the three cells.
Hi Saqib,
The very idea of the workaround is to give an amalgamation, more often called "concatenation", and then just sort on the column containing the concatenated "string."
As you've discovered, the =A&C&B formula only works if A,C, and B are all text. If you've got numbers in the mix then you have to pad them with leading zeros for them to sort as you want. That's easily done.
Let's say C is a number and A and B are strings. You could put somethng like this in column D:
=A&RIGHT("0000"&C,4)&B
It's certainly not convenient to have to add a new column and put in a formula. But this is not *that* difficult as a workaround until the day multcolumn sort is added back in.
SG -
Can data be sorted by multiple columns in numbers version 3
Since upgrading Numbers to version 3 (now 3.0.1) I have been unable to sort data in spreadsheets using multiple columns. Anyone found a solution?
Regards
kurrajong60Here's a simple example. Say you want this sorted first by Region then by Name then by Amount.
So if you set up a sort index column with a simple formula and all you have to do is this (two clicks):
Giving you this:
Of course you could do it as I think Hiroto is suggesting and manually sort first by column B, then sort by C, then sort by A.
But that's a lot of trouble and it's easy to confuse the order so you end up having to start over again.
SG -
How do I sort data in columns using Pages
How do I sort data in columns (alphabetically) using Pages?
If you are referring to text or numbers in a column (not table), then get the free Service plug-in WordService, from Devon Technologies. Put it in the
/Users/yourlogin/Library/Services folder location.
Select your data to be sorted. From the Pages menu > Services > Sort Ascending will do the trick. This will work with Pages ’09 and Pages v5.2 or later, as well as Apple Mail, TextEdit, etc.
The WordService files include a PDF (Read Me) that describes the services included with the package.
The Service items will only appear in the Services submenu when you have selected your data prior to sort. If these WordService items do not appear in the Services menu as they should per the preceding sentence, then you will need to enable them.
System Preferences > Keyboard > Shortcuts > Services. Scroll through the right hand list of services until you encounter Sort Ascending and ensure that it is selected.
If you were referring to sorting a column of data in a table:
Pages ’09
Select all cells containing your unordered data. In the Table Inspector, under Edit Rows & Columns, choose Sort Ascending.
Pages v5.2
Select cells as before. In the Table heading (A, B, C, etc.) when you roll over the letter, a down-arrow appears. Click, and choose Sort Ascending from the drop down menu. -
Finder - changing sort order in column view
Anyone know a way to change the sort order when using the COLUMN view in Finder? It's defaulting to alpha and I'd like to change it so when I'm viewing a particular folder the contents are displayed by Date Modified like I can when using the other views.
THANKS!Hi VFRJOEY,
there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
If this answered your question please consider granting some stars: Why reward points? -
How to enforce always sorting on a column in a TableView?
Hello,
I have a requirement to always sort on a column in a TableView.
So basically, I need a TableColumn's SortType go from Ascending to Descending and back to Ascedning when user clicks on a column header repeatedly.
I guess that means making sure a TableView's SortOrder list is not empty. Am I right?
I tried to listen to SortOrder list changes like below:
tableView.getSortOrder().addListener(new ListChangeListener<TableColumn<String, ?>>() {
@Override
public void onChanged(final javafx.collections.ListChangeListener.Change<? extends TableColumn<String, ?>> arg0) {
if (tableView.getSortOrder().size() > 0) {
// fine. nothing to do
else {
// add the removed column back
Is this the right approach?
I'm not sure how to use arg0 and add the removed column back.
Can people with experience in this area provide some sample code?
Thanks.The solution I came up with was to save the last column added to the SortOrder list to a map.
Whenever the SortOrder list becomes empty, I add the last saved column back to the SortOrder list.
That seems work.
Edited by: 925616 on Aug 3, 2012 3:33 PM
Edited by: 925616 on Aug 3, 2012 3:33 PM -
Disable sorting and resizing columns on table view
Is there a way to disable sorting and resizing columns on table view?
ThanksUse
setSortable(false)
setResizable(false)
on each TableColumn -
Matrix with dates of months as column heading
Hi you all, I'm trying to generate a query with the books name, dates of months as column headings and show the count of books sold on that particular date.
the expected format is
01-Jun-2006 02-Jun-2006 .................... 30-Jun-2006
Book1 2 4 0
Book2 2 0 6
can anyone help me..... please.........You didn't give us the table structure.
Considering the table having two columns BOOK_NAME and PURCHASE_DATE, find the query below for MAY. Change the Query accordingly if you want for a different month.
SELECT BOOK_NAME,
SUM(DECODE(PURCHASE_DATE,TO_DATE('01-MAY-2006','DD-MON-YYYY'),1,0)) "01-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('02-MAY-2006','DD-MON-YYYY'),1,0)) "02-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('03-MAY-2006','DD-MON-YYYY'),1,0)) "03-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('04-MAY-2006','DD-MON-YYYY'),1,0)) "04-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('05-MAY-2006','DD-MON-YYYY'),1,0)) "05-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('06-MAY-2006','DD-MON-YYYY'),1,0)) "06-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('07-MAY-2006','DD-MON-YYYY'),1,0)) "07-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('08-MAY-2006','DD-MON-YYYY'),1,0)) "08-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('09-MAY-2006','DD-MON-YYYY'),1,0)) "09-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('10-MAY-2006','DD-MON-YYYY'),1,0)) "10-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('11-MAY-2006','DD-MON-YYYY'),1,0)) "11-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('12-MAY-2006','DD-MON-YYYY'),1,0)) "12-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('13-MAY-2006','DD-MON-YYYY'),1,0)) "13-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('14-MAY-2006','DD-MON-YYYY'),1,0)) "14-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('15-MAY-2006','DD-MON-YYYY'),1,0)) "15-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('16-MAY-2006','DD-MON-YYYY'),1,0)) "16-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('17-MAY-2006','DD-MON-YYYY'),1,0)) "17-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('18-MAY-2006','DD-MON-YYYY'),1,0)) "18-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('19-MAY-2006','DD-MON-YYYY'),1,0)) "19-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('20-MAY-2006','DD-MON-YYYY'),1,0)) "20-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('21-MAY-2006','DD-MON-YYYY'),1,0)) "21-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('22-MAY-2006','DD-MON-YYYY'),1,0)) "22-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('23-MAY-2006','DD-MON-YYYY'),1,0)) "23-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('24-MAY-2006','DD-MON-YYYY'),1,0)) "24-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('25-MAY-2006','DD-MON-YYYY'),1,0)) "25-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('26-MAY-2006','DD-MON-YYYY'),1,0)) "26-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('27-MAY-2006','DD-MON-YYYY'),1,0)) "27-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('28-MAY-2006','DD-MON-YYYY'),1,0)) "28-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('29-MAY-2006','DD-MON-YYYY'),1,0)) "29-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('30-MAY-2006','DD-MON-YYYY'),1,0)) "30-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('31-MAY-2006','DD-MON-YYYY'),1,0)) "31-MAY-2006"
FROM BOOKS
GROUP BY BOOK_NAME
Regards,
Mohana -
Defining sort on applet column
Requirement is to define the sorting on the column,
Normally in UI we have a columns as STATUS which can have values Green--- Red—Yellow
In UI if you click on column header. It will sort with either Green—Red ---yellow or yellow ---red—green which is ascending or descending order.
We need a change which need like this Green—yellow--- Red or Red –Yellow-Green..can this be done?Hello -
Is still an issue for you? if yes, then can provide give us a little more information;
1) What CZ Build are you using? See Doc ID 313691.1: How to determine build level of Oracle Configurator Runtime and Developer.
2) Can you provide a screen capture showing the User Interface with the colors?
Thanks, Daniel
Maybe you are looking for
-
How do I connect two ipod's to one computer
I own an 5th Gen IPOD, I am buying my wife a Nano for Christmas. How do I connect both to the same computer, yet keep the ITunes and therefore IPOD update seperate? IPOD 30GB Windows XP
-
Error while creating data source using table KONP
Hi Frnds, I am creating a data source (RSo2) from Extraction from view, using the Table KONP , then i getting an error saying that Field KBETR with reference field KONWA: ZOXPTS0031 is to replace reference table RV13A Message no. R8390 Field MXWR
-
Modifiying selection screen of report RIQMEL20 coming from LDB 'QMI'
It is intended to modify the SAP standard report RIQMEL20 . This report RIQMEL20 is using the Logical Data Base "QMI" for the selection screen block & data selections which we need to modify. That means we need to modify this SAP Standard LDB "QMI"
-
The VCC property was not found on the resource
Hi all, I used a subversion to download/upload process in one of my application. At a point it give an error like this. svn: The VCC property was not found on the resourceCan someone tell me what that error means, and how to fix it. Thanks in advance
-
Turning imac display off without putting it to sleep questions?
I like to leave my iMac on overnight but I don't want to put it to sleep COMPLETELY. Just to turn off the display. I heard you press control-shift-eject or do a hot spot on screensaver on system pref. But my question is, would it hurt the iMac in the