How to generate blank cells in cross-tab (Matrix) report
Hi All,
I am facing issue in populating blank columns in a cross-tab report.Please help me out as it is urgent.......
Thanks in advance.
regards,
sreekanth
If you haven't found the answer yet, check out the following article. It was an immense help to me!
http://apps2fusion.com/at/64-kr/345-matrix-cross-tab-report-bi-publisher
HTH
Similar Messages
-
Cross tab(matrix) report in XML publisher
hi,
i am making a cross tab report (industry,year,amount) with row subtotal='true' (by default). i.e.
(Industry) 2008 2009 2010 total
abc ltd. 50 100 160 310
xyz ltd. 100 200 300 600
pqr ltd. 10 20 30 60
after creating cross tab, when i am going to properties of industry this is showing <?./H?> and properties of year this is showing <?./M?> and properties of amount this is showing <?./L?> and properties of total this is showing <?./T?> which i think automatically created.
then i have to put a condition that, if industry like pqr ltd. then total should be null otherwise this should show the total as it is.
i.e
(Industry) 2008 2009 2010 total
abc ltd. 50 100 160 310
xyz ltd. 100 200 300 600
pqr ltd. 10 20 30
how should i have to write condition for this in total property tag.Hi
the crosstab praser now creates an in memory object to process. To get the total to hide you could use
<?if:./H != 'pqr ltd'?><?./T1?><?end if?>
Regards
Tim -
How to create Cross Tab type report?
Hey all,
I am in the process of converting an application. The current application uses Crystal Reports to generate a Cross Tab report. I want to use Oracle to generate this type of report. Can anyone tell me how this is accomplished?A cross tab report in Oracle is a matrix report. You can use the report wizard to build this type of report.
-
Achieving SubTotals in CROSS Tab XML Report
Hi,
I have a requirement to obtain subtotals in cross Tab XML report.
X-axis and Y-axis columns and values are generated dynamically from Query.
The Y-axis contains heirarchy. In between these heirachies, i need to have subtotals.
If required, i can send rtf and xml source via email.
Please let me know if anyone has implemented before?
Thanks.
Edited by: 808712 on Nov 9, 2010 5:12 AMHi,
I am building cross tab manually. I am not getting any idea how to achieve a subtotals in between, mailed you rtf and xml source along with mock excel for reference,
This is what i require:
Person Type
Organization Employee Co-Op Intern Contractor Total
*910 AD* 2 0 0 0 2
920 AC 32 0 0 7 39
110 PU 12 0 0 3 15
930 HR 19 1 0 4 24
950 LEl 9 0 0 1 1 0
951 SA 0 0 0 0 0
970 FA 0 0 0 0 0
980 IS 31 1 0 3 35
981 ERP 0 0 0 0 0
982 CI 0 0 0 0 0
983 IT 0 0 0 0 0
986 IT 0 0 0 0 0
Total 910 Ad 105 2 0 18 125 --> I need to achived this subtotal?
etc…
Headcount Total: 105 2 0 18 125 --> I got this total
I have build the rtf with the help of BI Publisher user guide - Cross-Tab Support(pageno:5-94), the only pending was this subtotals.
Thanks -
How to generate a second csv file with different report columns selected?
Hi. Everybody:
How to generate a second csv file with different report columns selected?
The first csv file is easy (report attributes -> report export -> enable CSV output Yes). However, our users demand 2 csv files with different report columns selected to meet their different needs.
(The users don't want to have one csv file with all report columns included. They just want to get whatever they need directly, no extra columns)
Thank you for any help!
MZHello,
I'm doing it usually. Typically example would be in the report only the column "FIRST_NAME" and "LAST_NAME" displayed whereas
in the csv exported with the UTL_FILE the complete address (street, housenumber, additions, zip, town, state ... ) is written, these things are needed e.g. the form letters.
You do not need another page, just an additional button named e.g. "export_to_csv" on your report page.
The csv export itself is handled from a plsql procedure "stored procedure" ( I like to have business logic outside of apex) which is invoked by pressing the button "export_to_csv". Of course the stored procedure can handle also parameters
An example code would be something like
PROCEDURE srn_brief_mitglieder (
p_start_mg_nr IN NUMBER,
p_ende_mg_nr IN NUMBER
AS
export_file UTL_FILE.FILE_TYPE;
l_line VARCHAR2(20000);
l_lfd NUMBER;
l_dateiname VARCHAR2(100);
l_datum VARCHAR2(20);
l_hilfe VARCHAR2(20);
CURSOR c1 IS
SELECT
MG_NR
,TO_CHAR(MG_BEITRITT,'dd.mm.yyyy') AS MG_BEITRITT ,TO_CHAR(MG_AUFNAHME,'dd.mm.yyyy') AS MG_AUFNAHME
,MG_ANREDE ,MG_TITEL ,MG_NACHNAME ,MG_VORNAME
,MG_STRASSE ,MG_HNR ,MG_ZUSATZ ,MG_PLZ ,MG_ORT
FROM MITGLIEDER
WHERE MG_NR >= p_start_mg_nr
AND MG_NR <= p_ende_mg_nr
--WHERE ROWNUM < 10
ORDER BY MG_NR;
BEGIN
SELECT TO_CHAR(SYSDATE, 'yyyy_mm_dd' ) INTO l_datum FROM DUAL;
SELECT TO_CHAR(SYSDATE, 'hh24miss' ) INTO l_hilfe FROM DUAL;
l_datum := l_datum||'_'||l_hilfe;
--DBMS_OUTPUT.PUT_LINE ( l_datum);
l_dateiname := 'SRNBRIEF_MITGLIEDER_'||l_datum||'.CSV';
--DBMS_OUTPUT.PUT_LINE ( l_dateiname);
export_file := UTL_FILE.FOPEN('EXPORTDIR', l_dateiname, 'W');
l_line := '';
--HEADER
l_line := '"NR"|"BEITRITT"|"AUFNAHME"|"ANREDE"|"TITEL"|"NACHNAME"|"VORNAME"';
l_line := l_line||'|"STRASSE"|"HNR"|"ZUSATZ"|"PLZ"|"ORT"';
UTL_FILE.PUT_LINE(export_file, l_line);
FOR rec IN c1
LOOP
l_line := '"'||rec.MG_NR||'"';
l_line := l_line||'|"'||rec.MG_BEITRITT||'"|"' ||rec.MG_AUFNAHME||'"';
l_line := l_line||'|"'||rec.MG_ANREDE||'"|"'||rec.MG_TITEL||'"|"'||rec.MG_NACHNAME||'"|"'||rec.MG_VORNAME||'"';
l_line := l_line||'|"'||rec.MG_STRASSE||'"|"'||rec.MG_HNR||'"|"'||rec.MG_ZUSATZ||'"|"'||rec.MG_PLZ||'"|"'||rec.MG_ORT||'"';
-- DBMS_OUTPUT.PUT_LINE (l_line);
-- in datei schreiben
UTL_FILE.PUT_LINE(export_file, l_line);
END LOOP;
UTL_FILE.FCLOSE(export_file);
END srn_brief_mitglieder;Edited by: wucis on Nov 6, 2011 9:09 AM -
SSRS Header Image extension for Cross Tab type Reports to full page width
Hi All,
I'm trying to adjust a Image on Header ,the problem I'm facing is the image doesnt extend with the page full width when there is cross tab type reports.
Many thanksSolved
There is a property for background repeat setting when set to Repaet X has worked for me -
Hi all,
I have a webi cross tab and need to add a blank line in line 3, line 7 and line 9 etc (not regular pattern). How can I do that? If I use the insert row below, webi will add blank row for each line. Please help.
Thank you in advanced.
Gracehi
Since web intelligence uses row level aggregation for calculations , there is a restriction in creating a new row like u said, unlikely column insertion has no restrictions. we cannot insert by our own pattern.
thanks
Dineshkumar -
How to display a row in Cross Tab when the count summary is zero
My customer wants a row for all possible data, even when the count is zero. How can I get a row to display when there is no data? Using an example: Display status for incidents - possible five statuses, but selection only results in four statuses because no incident were cancelled. Customer wants all five statuses to display in cross tab with cancelled showing '0' (zero))
Open
WIP
Cancelled
Pending
ClosedThis worked for the last guy who had a similar issue.
Take a look at what it's doing. You should be able to use the same principal to meet your needs...
I'm assuming that you'll only need to show 4 weeks at a time on your report.
The easiest way to do it is by creating 8 separate formula fields:
W1A
W1RT
W2A
W2RT
... and so on
I don't know how your data is coming across but the formula should go something loke this:
W1A... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W1RT... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W2A... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
W2RT... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
... and so on
If I got you weekly criteria wrong, sorry. It's just a best guess.
Anyway you should be able get the idea. It gives you the effect of a crosstab without the headaches of a crosstab.
Hope this works for you,
Jason
Edited by: Jason Long on Jun 28, 2008 3:19 AM -
How to generate blank spaces at end of the record in a flat file with fixed
Hi,
I am generating a flat file with fixed length.
In my ABAP program, i am able to see the spaces at the end of the recors in debug but when download to applicaiton server i am not able to see those spaces.
How can i generate blank spaces at the end of the record in a flat file?
Please update
Thank youHow are you downloading the file? And, How are you looking at the file on the application server?
Can you provide snippets of your code?
Cheers
John -
How to Add new column in cross tab reports
I am using crystal reports 10
I created cross tab report for monthly sales. I need to add one more column in that report
ex:
Month Customer Part1 Part2 Part3
Jan A 10 12 15
Jan B 20 0 10
Jan C 0 3 5
Feb A 5 10 8
Feb D 55 23 33
In above data Parts are no limit, thatswhy i am taking cross tab report.
I am taking Month and Customer name as Rows,
Part Codes as Colums,
Quantiry as Total fields in cross tab Report.
Here month field is storing as Transaction date in database, I am calculating by month
I am getting upto this.
User needs add one more field is Invoice no
Month Customer Part1 Part2 Part3 Invoice no
Jan A 10 12 15 B1,B2,B3,B4
Jan B 20 0 10 B12,B30
Jan C 0 3 5 B6
Feb A 5 10 8 B35,B40
Feb D 55 23 33 B25,B56
How to add invoice nos by group wise(By customer and By month)
Thank you.
Raja shekar Reddy K.
Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PMDear Amogh,
Thanks for u'r Replay.
If i use new crosstab for Invoice no each invoice number can display like seperate columns.
But I need Invoice no in single column with seperate with "," or "/".
Thanks & regards,
Raja Shekar Reddy K. -
How to Suppres a Row in Cross Tab?
Hello All
I have a cross tab where I wish only to show the result of the calculation.
The cross tab is like this
Header............Period
Sales..............X
Costs..............Y
Cost/Sales.......Y/X
What I want to show is the result only Cost/Sales
Header............Period
Cost/Sales.......Y/X
Hiding the Cells Sales and Costs but still using their results in the calculation.
Is there anyway to do this? As at present I can only supress Sales and Costs and minimize their size but this looks silly as you get a result like
Header............Period
Cost/Sales.......Y/X
With Space in between.
Any help would be appreciated.
Thanks
Phillipcross tab functionality is different than a regular report, you cant always do what you want surpression wise...
if you just want to show a summary i would create a standard report
and surpress what you dont want and just show your summaries. -
How to perform sorting in a Cross-Tab report?
Hi,
Please advice, how sorting can be done in Crosstab report.Hi Sriram
Using the group option you can get the ascending or descending sort order however if your requirement is other than that, you can use a specified order as below:
To create a specified order for the column or row headings in the crosstab complete the following steps:
1. Right click the cross tab to select it and from the fly out menu select 'Format Cross-tab'.
2. In the 'Format Cross-tab' dialog box, select the field that you would like to change the order of. In this example, it is{Customer.Country}.
3. Click the 'Group Options' button from the right side of the 'Format Cross-tab' dialog box.
4. Select 'Specified Order' from the drop down list box on the 'Common' tab. This takes you to the 'Specified Order' tab.
5. From the drop down list box on this tab, select the field values in the order you would like them to appear on the cross-tab.
You can specify the conditions as per your requirement there.
Hope this helps!!
Regards
Sourashree -
How to autofill blank cells in an entire document?
Is there a way of filling blank cells in the entire document, not just surrounding cells as the fill-function works? In other programms you search " " and fill (replace) it with "0" for example. Doesn't work with the Find/Replace function in Numbers.
Tinotis15 wrote:
Is there a way of filling blank cells in the entire document, not just surrounding cells as the fill-function works? In other programms you search " " and fill (replace) it with "0" for example. Doesn't work with the Find/Replace function in Numbers.
A cell containing " " (a space) is not a blank cell.
When cells contain this string, the Search / Replace tool behaves flawlessly and replace the spaces by the wanted string.
To fill the blank cells, I know only one soluce : AppleScript.
Here is a script doing the trick.
--[SCRIPT fillblank_cells_withclipboard]
Enregistrer le script en tant que Script : fillblank_cells_withclipboard.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Sélectionner la cellule en haut à gauche de la zône à remplir.
Aller au menu Scripts , choisir Numbers puis choisir fillblank_cells_withclipboard.
Le script remplit les cellules vides de la zône définie avec la valeur extraite du presse-papiers.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
--=====
Save the script as a Script: fillblank_cells_withclipboard.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Select a cell which is at top left of the range to fill?
Go to the Scripts Menu, choose Numbers, then choose fillblank_cells_withclipboard
The script will fill every blank cell of the defined range with the value extracted from the clipoard.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/10/29
--=====
on run
local remplir_avec, dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2, c, r
set remplir_avec to the clipboard as text
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
repeat with c from colNum1 to count of column
tell column c
repeat with r from rowNum1 to count of row
if (value of cell r) = 0 then set value of cell r to remplir_avec
end repeat
end tell
end repeat
end tell
end run
--=====
set {rowNum1, colNum1, rowNum2, colNum2} to my getCellsAddresses(dname,s_name,t_name,arange)
on getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
local two_Names, row_Num1, col_Num1, row_Num2, col_Num2
tell application "Numbers"
set d_Name to name of document d_Name (* useful if we passed a number *)
tell document d_Name
set s_Name to name of sheet s_Name (* useful if we passed a number *)
tell sheet s_Name
set t_Name to name of table t_Name (* useful if we passed a number *)
end tell -- sheet
end tell -- document
end tell -- Numbers
if r_Name contains ":" then
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, item 1 of two_Names)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(d_Name, s_Name, t_Name, item 2 of two_Names)
end if
else
set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, r_Name)
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
end if -- r_Name contains…
return {row_Num1, col_Num1, row_Num2, col_Num2}
end getCellsAddresses
--=====
set { dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
on getSelParams()
local r_Name, t_Name, s_Name, d_Name
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
return {d_Name, s_Name, t_Name, r_Name} & my getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(docName,sheetName,tableName,cellRef)
apply to named row or named column !
on decipher(d, s, t, n)
tell application "Numbers" to tell document d to tell sheet s to tell table t to ¬
return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) vendredi 29 octobre 2010 14:42:38 -
How to correct XML Output in Cross Tab Template for sum function?
I have designed a Cross Tab Template to summarize R12 Account Analysis data by Period by Party_name. The template is doing what I want it to do with the exception of amount. I have a function in the sum(accounted_net) field and it will only display 0.00 even though I know there are actual amount. Can someone help in looking at my template to see what I have done wrong?
Here is the sum funciton.
<?if:count(current-group()[CCID_SOURCE=$ABC])?><?sum(current-group()[CCID_SOURCE=$ABC]/ACCOUNTED_NET)?> <?end if?>
CCID_SOURCE is an element I created in XML to concatnate CCID and Party_name for grouping. $ABC is a variable that I defined for "CCID_SOURCE" to check if there is null value for a specific ccid_party. If it's null, it won't do the sum function, otherwise it will sum the accounted_net for the period_name, party_name.
Thank you for your help.
StaceyFigured this out on our own
-
Date Format is not Working in Cross tab Crystal report 2008
Hi,
I have developed an application ASP.Net c#
in Framework 3.5 with crystal report 2008 with service pack 5.
in my crystal i used cross tab to show the grid records. one of the data having the data type as date time after launching the report, when i export the report with option "export to excel (data only)" and check the format of the date value in excel it show the general string
if i place that data in any other location other than cross tab then it reflects the format what i give in report design. but when the control is in cross tab
its not effect
how to solve this!And tweeted
- Ludek
Senior Support Engineer
AGS Product Support, Global Support Center Canada
Follow us on Twitter
Maybe you are looking for
-
Can I Design a Forum with using web dynpro for java?
Hi All: Can i design a forum with using web dynpro for java? I want to design an application like a simple forum which maybe has many replies.So if i use the UI technology "web dynpro for java", i will to create UI elements dynamically.How ca
-
Can't start lightroom cc trial on win 8.1
I have windows 8.1 x64 with the working LR 5.7 I tried to install Creative cloud and LR CC If I start LR CC and click on continue trial, LR mostly immediately closes without any information or sometimes freezes. If I try logout and login in CC, it do
-
I had this problem with two different iPod nano's that I bought for my kids. The iPods would not be recognized by iTunes. They would throw an error message about how the ipod was not being recognized correctly. It was computer specific, since they we
-
Lenovo Laptops Won't Install any Drivers
I have primarily Lenovo T and X series laptops at my work. I'm trying to setup SCCM 2012 to be able to image directly from a Windows 7 source folder (just took an ISO from MSDN and extracted the contents to a folder, pointed SCCM to it). I am hoping
-
What kind of credit card usage led to a credit limit increase for you?
What type of spending behavior led to your credit limit increases? (Ie zero balance, high usage with early payments, 9%, 30%, ect). Were they notable increases? What time frame did the increases occur in?