How to display top 2 countries in 2 columns in Report Designer
Hello Gurus ,
I have a requirement where top 2 countries has to be displayed in two different columns in Report Designer.
is there are way to do that, i tried many differetn ways but was not successfull, apart from creating text variables and writing customer exit.
I appreciate your help
Thanks,
Kumar
Hi,
I am not sure what version you are, from version 9.3 I think there is a "Top" function, just highlight the row, tick the option for "Top", set the number and the column
Failing that if you need to use rank could you not hide the column.
Cheers
John
http://john-goodwin.blogspot.com/
Similar Messages
-
How to display top 10 values in a Webi report?
Hi,
I have the following requirement.
If the report contains 'State' and 'Revenue' columns, I need to display top 10 cities with highest revenue and the revenue of the remaining cities can be summed together and should be available in a separate cell.
I tried several formulae to achieve the requirement but was unsuccessful.
I created a variable using the formula: '= If (Rank(<State> ,<Sales revenue>)>10 ) Then Sum(<Sales revenue>) Else 0' and added it as a column in the report. This provides the required results.
When I add this variable as a column in the report, it displays 0 for the first top 10 values and only displays the remaining values. After that we can apply the Sum on this column to get the sum of the remaining (Other) sales revenue excluding top 10 values. However I cannot display this sum in a separate cell.
Please provide some suggestions on this.
Regards,
Aditya JoshiHi Aditya,
Could you please try the following solutions to resolve the issue.
Solution1:
In Oracle, there is a function called: RANK() OVER (PARTITION BY () ORDER BY ()) which can be used to define an object at Universe level to return a rank position when used in a report. If you can check with your DBA - there is a similar function available for SQL Server. It should be RANK() OVER (ORDER BY colname) AS () FROM.
Solution2:
Or you can also try returning all rows in query, apply sort at report level & apply alerter to highlight the top 10 values.
Regards,
Sarbhjeet Kaur -
How to display the value of a column in a chart at the top of each column
How to display the value of each column in a chart at the top of each column?
Like this?
Done using chart Inspector.
For details, see Chapter 7, Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
Regards,
Barry -
How to display number of rows as columns in a select statement? This is on
How to display number of rows as columns in a select statement? This is on 10g R2.
Thanks,
RFor the current (ie. row 1 of 100)
row_number over (order by -pick_a_column_set) as rnfor the total number of columns returned in your query
count(*) over() as total_count -
How to include variable in the text column in report painter?
Dear Expert,
Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
Thank you.
Regards,
Karen
Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AMHi,
Thank you for the promt reply.
1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
which variable should i use?
2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
3) Kindly advise base on question 2, the variable that i use in element definition it will also display in selection screen?
4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
Please help.
many thanks
Edited by: KH on Jun 18, 2011 7:18 AM -
How to display multi line headings in procedural alv report
Hi experts,
How to display multi line heading in alv( procedural alv report) report.
some columns single line and some columns multi line in the same report.
ex:
solvent consumed solvent recovered
fresh | recovery recovery | spent batch no storage
I am using procedural alv .pls give me idea.Hi Ram,
Check the sample report [how to display multi line headings in procedural alv report|http://sample-code-abap.blogspot.com/2008/01/printing-multiple-line-header-and.html]
Thanks,
Duy -
How to Display 'purchase order text' in MM03 using report program
Hi Friends,
Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
'Purchase order text' tab displays purchase long text of particular material .
I coded as:
SET PARAMETER ID 'MXX' FIELD 'E'.
SET PARAMETER ID 'MAT' FIELD k_final-matnr.
SET PARAMETER ID 'WRK' FIELD k_final-werks.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
It displays Purchasing tab other than Purchase Order Text tab of MM03.
Please suggest me how can i solve this.
Is there any parameter id to set values for Purchase Order text tab>
Madhu Mano Chitra wrote:
> I want how to navigate to MM03 'Purchase Order text' tab/ view using ABAP code.
> could any suggest me
You can call a transaction and pass it a BDC table that tells it where you want it to go. You have to work out for yourself what to put into the BDC table. The code below works for tcode CATSSHOW.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'CATSSHOW'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SO_STATU-LOW'.
bdcdata_wa-fval = '20'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'ANDZEIT'.
bdcdata_wa-fval = SPACE.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'PAST'.
bdcdata_wa-fval = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
IF p_selscr = SPACE.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=ONLI'.
APPEND bdcdata_wa TO bdcdata_tab.
ENDIF.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt. -
How to display top 10 customers in FR
Hi,
I've a requirement in FR. When i select an entity from POV, it should display top 10 customers out of 100 customers in that entity (for ex. top revenue customers). Can any one pls. help on how we can achive this dynamic reporting through FR. The rank function displays the ranks, but what i would like to see is, the report should display top 20 customers only. Pls. help
Thanks,
PVRHi,
I am not sure what version you are, from version 9.3 I think there is a "Top" function, just highlight the row, tick the option for "Top", set the number and the column
Failing that if you need to use rank could you not hide the column.
Cheers
John
http://john-goodwin.blogspot.com/ -
How to display images in a table column?
Hi,
In a VC model, I have to display images in a table column for each record found.
How can this be done?
Regards,
NitinHi Nitin,
It can be done by adding to the table the Image control (can be found under Advanced Controls in the Compose panel).
In the URL property (in the Configure panel of the Image control) you can define any expression that will return the image URL. For example:
="http://hosting.site.url/"&@ImageNameField
Regards,
Udi
Edited by: Udi Cohen on Jun 11, 2008 1:39 PM -
JTable : How to display an icon near the column name ?
Hi all,
I'd like to display an icon near the column name of my JTable when an user click on the column; the icon specify the sorting applied to the data of JTable.
I know that i have to write a render, but how ?
Cheers.
StefanoHi all,
I found the solution at http://exampledepot.com/egs/javax.swing.table/IconHead.html
Cheers anyway.
Stefano -
How to display a empty (non-existing) column and info in LAST row
Hello!
I´m trying to create the code that diplays all authors (author.name), empty COLUMN, NR_OF_BOOK_PER_AUTHOR.
I want the LAST ROW to display: (column1) the word 'Sum:', (column2) nr of authors, (column3) total sum of all books
Headache: How do I display the EMPTY column and how do I get the LAST ROW to display column1) 'Sum:', (column2) nr of authors, (column3) total sum of all books
It should look like this:
AUTHOR EMPTY NR_OF_BOOKS_PER_AUTHOR
I can list all authors and NR_OF_BOOKS_PER_AUTHOR using this code:
SELECT A.NAME, COUNT(B.ROWID)
FROM AUTHOR A, BOOK B
WHERE B.AUTHOR_ID = A.ID
GROUP BY A.NAME
ORDER BY COUNT(B.ROWID)
I can count the numbers of authors (should be displayed in last row column2) using:
SELECT COUNT(name)
FROM author
and I can list the total amount of books (should be displayed in last row column3) using:
SELECT COUNT(title)
FROM book
But I come up short with how to display the EMPTY column and the last row containing (column1) the word 'Sum:', (column2) nr of authors, (column3) total sum of all books
Any suggestions?
Best regards,
DanielI want the LAST ROW to display: (column1) the word 'Sum:', (column2) nr of authors, (column3) total sum of all booksHave a look at GROUP BY with CUBE or ROLLUP.
Cheers, APC -
How to display Top-5 earners from the table,there should be no duplication
Hi All
Can you give me some idea about this query,
i want a query like
1)How to dispaly top-N earners from the Emp Table ( i want to dispaly top 5 sal )
2)There should be no duplicaion in the sal.
3)If Two emp's earn the same sal,the sal should be picked up only once....!!
select distinct (sal) from emp order by sal desc;
select distinct (sal) from emp order by sal desc;
SAL
5000
3000
2975
2850
2450
1600
1500
1300
1250
1100
950
800
I want to display only first 5 rows !!
That first 5 rows i have to insert into other table..!! Please How to display only first 5 rows..!!
Please can you give me some idea..!!
Thank in AdvanceUSE THIS QUERY
SELECT SAL FROM (SELECT DISTINCT SAL FROM SCOTT.EMP ORDER BY SAL DESC) WHERE ROWNUM <= 5
IF U WANT TO FIND 3 SAL OR 4 0R ANY USE THIS QUERY
SELECT SAL FROM SCOTT.EMP A WHERE &N = (SELECT COUNT(DISTINCT B.SAL) FROM SCOTT.EMP B WHERE B.SAL <= A.SAL)
FOR &N = GIVE UR VALUE -
How to display presentation variable in a column
Hi all....I have to display presentation variable in a column...
I tried placing @{variable_name} in column formula..
But it is displaying a value 0 ..where the variable carries a date value.
Any suggestions?Take a look at this blog: http://gerardnico.com/wiki/dat/obiee/presentation_variable
Try it out by providing a default format.
Thanks,
BIPuser -
XLR - How to display top 5 customer or top 5 products?
I am trying to modify the XL Reporter Dashboards and I am stumped by the following issues:
Display top 5 customer
Display top 5 products.
Could someone please help with this project?
Your help is appreciated!!
JohnHi John,
The syntax for this is:
FACT Top 5 BPA(*) Order By Fig.SO_DocTotal Descending
There is a good document on the SAP portal called XLR Syntax and Functions which covers this and the XLR specific date and period type functions that I found (and still find) very useful. -
How to Display a Detailed Grand Total Column in Pivot Table
I have a pivot table that looks something like this:
I would like to display the 'Grand Total' column at the end so that it is separated by year, like this:
Is there a pivot table setting that would allow it to display this way? I've searched high and low but haven't found anything. I appreciate any help. Thanks!You can add a calculated item to the pivot table to display grand totals by year:
1. First, turn off grand totals for rows and columns (PIVOTTABLE TOOLS > DESIGN tab > Layout group > Grand Totals > Off for Rows and Columns)
2. Click on the Price List (Invoice) field in the pivot table (hidden above the
Member field?). You must click on the pivot table cell containing the field name for the entries "Member" and "Non-Member".
3. Add the calculated item (PIVOTTABLE TOOLS > ANALYZE tab > Calculations group > Fields, Items & Sets > Calculated item...
4. In the "Name:" box, type: Grand Totals
5. In the "Formula:" box, type: = Member + 'Non-Member'
6. Click the "Add" button, and then click "OK"
Maybe you are looking for
-
Error -8 out of nowhere (video chat has worked just fine for the past week)
Here's the error text (video chat has been working fine in iChat, with no upgrades or software changes in between, for the past week, and now I get this message): Date/Time: 2006-07-14 00:13:48.087 -0400 OS Version: 10.4.7 (Build 8J135) Report Versio
-
Best Way to Make Line Art From Scratch
Hi and I apologize if a basic question, but I've created a rather complex illustration, and I'm wondering if there's a quicker way to go from y first attached image, to the transparent second. I feel as if I'm spending a lot of monotonous time follo
-
Two Apple displays not possible with Nvidia 7300 GT (bug?)
I have a Mac Pro with a Nvidia GeForce 7300 with an Apple 23" display connected to it. Yesterday I wanted to hook up a second 20" Apple display to it and it was simply not possible because the two sockets on the graphics cards are so near to each oth
-
Mac book keeps crashing when opening/editing spreadsheet on google??
Macbook keeps crashing when I open or edit a google spreadsheet on google drive. Any help pls??
-
Why do some PDF's show whats under layers when opening?
Hi, I work in ID 5.0.2. I distill my brochure to PDF. This is to keep the file size small for emailing and Web uploads. I have many text boxes and frames layered on certain revised sections of the document, my question: when we open the PDF in the of