Removing blank rows in Presentation
Hi,
How can i remove blank rows in a Bi Bean Presentaion?
do i have to configure it in
a)while making the presentation, or
b)when displaying it in a JSP page?
thanks,
Vaibhav.
the method is setSuppressRows in class
oracle.dss.dataSource.client.QueryClient
you must retreive the Query of your Presentation (Crosstab ThinCrosstab...) and then apply this method to the query...
After you use it,please reply here if it works,because it does not work to me...
Antonio
Similar Messages
-
Removing blank rows in File Content Conversion
The following is the snippet of XML in a file produced by the File Receiver Adapter using FCC. The mapping is fairly complex and results in blanks rows being outputed. I need to remove this but I don't want to change my mapping. I've tried using .fieldContentFormatting "trim" to no avail.
Once again, can anyone help me?
<Prices COLUMNS="IndexName, Date, IndexPrice">
Price_OU_gas,2007-05-01,23
Price_OU_gas,2007-05-01,65
Price_OU_gas,2007-05-01,66
Price_OU_gas,2007-05-01,12
Price_OU_gas,2007-05-01,56
</ GasPrices>Crowe,
In the mapping only specify for the root node a Boolean funciton like:
If --> Source not equals to space then (put your mapping logic) ---> createif --> Target.
---Satish -
Remove blank rows in Report painter
Good morning,
When running a report in GR55, I show ten blank rows on top of the report and I would like to get rid of them to save space. I have not found yet a way to do this in GRR2.Hi,
Are you working with SAP B1?
Thanks. -
Getting extra NULL row in presentation layer when we use CASE in RPD
Hi,
We have created some time utility members in RPD like Previous month, Previous quarter.
Steps:
We have created a init block for capturing Previous month, Previous quarter and added variables with some default values assigned.
Now, we have created a logical column under time dimension in BMM as Previous month, Previous quarter. We are deriving them using following way.CASE
WHEN
MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
THEN
MONTH_COL_NAME
END
We want these dimension values to qualify with measures.
The problem we are facing is it is showing one extra blank row in presentation layer when we bring Previous month or Previous quarter. This is because CASE conditions behaviour. How to avoid null in CASE condition in RPD?
Thanks,
AnileshYou need to handle the records which are not equals to REPOSITORY_VAR_NAME.
I guess those other rest of values .
Try this
CASE
WHEN
MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
THEN
'Y'
ELSE 'N'
END
in criteria use Y as filter value
If helps pls mark
Edited by: Srini VEERAVALLI on Dec 20, 2012 7:49 AM -
Data Merge - Not removing blank lines when more than one in a row
I am having the same problem as mentioned here: http://forums.adobe.com/message/2109531#2109531 That post is for some reason set as "answered" though the poster said the latest update did not resolve the issue. Has anyone found a solution to this issue?
Thanks much,I"d suggest you try running the merge WITHOUT removing blank lines, then use GREP to remove empty paragraphs. There's a pre-written saved query in the list.
Peter -
Remove extra blank rows in ORACLE SPOOLING
I am trying to spool a table result to a .dat file.
The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
Eg:
Original data as in DB
A B C
1 1 ABC DEF GH
2 1 DEF GHI JK
SPOOL FILE O/P
A | B | C |
1 | 1 | ABC |
| |DEF |
| |GH |
2 | 1 | DEF |
| | GHI |
| | JK |
Thanks,
DheepanDheepan wrote:
I am trying to spool a table result to a .dat file.
The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
Eg:
Original data as in DB
A B C
1 1 ABC DEF GH
2 1 DEF GHI JK
SPOOL FILE O/P
A | B | C |
1 | 1 | ABC |
| |DEF |
| |GH |
2 | 1 | DEF |
| | GHI |
| | JK |
Thanks,
Dheepancan you post script?
BTW, have you included SET TRIMSPOOL ON ?
When you have moved your question, Close that thread ORACLE SPOOLING extra blank rows
Edited by: CKPT on Mar 24, 2012 10:07 PM -
SSRS How to remove a blank row
Hi All;
Below is my SSR deign
which gives me the Preview as below
Can you please help me remove the rows which bring 0 . In this case the row Yesterday 0 0 needs to come out
Any help much appreciated
Thanks
Pradnya07I would alter a T-SQL statement that returns the data filtering out the rows with value=0
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Intermittent Blank Rows coming in BI Publisher Report output
Hi,
We are working on a BI Publisher report output.
Issue
The report sometimes creates a blank row along with the headings of the report columns. Table has multiple records and between 2 records we have a data being displayed which is optional. When this record is null, it is creating an extra space and hence creating a new page with the headers and a blank row.
Reducing the space is one issue we have thought of. Are there any other pointers to this.
Thanks
IshaniHi,
I did not got the complete thing but as you told you need to remove the blank space in the report and at the same you told when a column returns null the row get displayed as blank row.
Then can you try using the Conditional region so that when ever you find the column value as null so you can hide that row.
Just try it i donot no if your requirement is exactly like this or what.
Thanks. -
Remove Blank Values from Slicer in Power View
Hi all,
I am trying to create a power view report from a power pivot data model. After creating the model when I try to use the slicer in power view I am seeing the Blank record. Then I checked that dimension in model where I don't have any blank value in there.
Also I checked in fact table where it has a relationship with that dimension and I don't see any blank value there as well.
I am currently blocked with this issue. Experts please jump in and give some ideas how to remove blank value from there.
ThanksAs MM-99 already stated correctly, the BLANK-member is created if there is one or more non-matching row in your fact-table that does not exist in the dimension-table
maybe you have some issues with upper and lower case?
or maybe there are some whitespace characters contained in the text?
to identify the issues you may want to create a calcuated column in your fact-table as =RELATED('DimTable'[MyKeyColumn])
then you can filter on that column and see if any blank values appear
hth,
gerhard
Gerhard Brueckl
blogging @ http://blog.gbrueckl.at
working @ http://www.pmOne.com -
ADF Toystore question: no blank row in viewobject on "Add" JSP form
A new thread based on Suggestions for Automatic Commit/Rollback
In the ADF Toystore application, I did not notice the blank row behavior in the user registration section like we encountered in the other thread posting (Suggestions for Automatic Commit/Rollback To test this, I created another instance of the Accounts viewobject (called it AllAccounts) inside the ToyStoreService app module and then created a JSP to list the contents of the AllAccounts viewobject. Then, I went to the registration page (which creates a blank row in the view object with a status of STATUS_INITIALIZED) and then without submitting the form, I clicked on the link that I created to view the contents of the AllAccounts view object and noticed that a blank row did not appear. What is causing a blank row to appear in our discussions in the other thread (Suggestions for Automatic Commit/Rollback but not in the ADF Toystore application? I guess somehow this row with a status of STATUS_INITIALIZED is being "removed" but I cannot find the code that does this.
Steve -- any ideas?I was trying to figure out what would be the best practice to implement 'partial rollback'. Could not really find the example in Toy Store demo. For example if we create new account, the model will get dirty. And let's say user does NOT commit the record but rather uses link and navigates to some other pages. After some work user may commit the transaction which in turn will commit blank entry in account table. Well for the sake of example let's assume that this is possible scenario.
So what I am up to is how to implement 'cancel' operation when user changes his/her mind and does something else rather then commit/save_changes in new/edit screens? What would be the best practice?
What I have done so far is rather too bulky. I have implemented event handler for all my links and cancel button in data page:
* "Cancel" Event Handler.
* @param ctx The DataAction context
public void onCancel(DataActionContext ctx) {
HttpServletRequest request = ctx.getHttpServletRequest();
BindingContext bcc = HttpBindingContext.getContext(request);
DCBindingContainer dbc = DCUtil.findBindingContainer(bcc, "modifyAddSchedulingUIModel");
DCIteratorBinding studentCat = dbc.getIteratorBinding("AddModifyScheduleView1",null , "AddModifyScheduleView1Iterator");
Row currentRow = studentCat.getNavigatableRowIterator().getCurrentRow();
currentRow.refresh(Row.REFRESH_REMOVE_NEW_ROWS | Row.REFRESH_WITH_DB_FORGET_CHANGES);
dbc.getApplicationModule().getTransaction().commit();
String target = "individual";
ctx.setActionForward(target);
Any other idea? -
Excel export contains a blank row for the Report Header
Hi,
I am getting a blank row as the first row in my SSRS report when exported to excel. I have already taken care of following things,
1. I have hidden all of the Page Header items using Globals
2. The position of Report Body Tablix is 0, that means there is no space between report header and Report Body.
I have developed this Report in SSRS 2012, please let me know if any more details are required. I think even after hiding Header Items, excel creates a placeholder for page header. I can't remove header from my reports as it is needed to be published in
pdf.
Regards
MohitHi Mohit,
According to your description, you are getting a blank row as the first row in your excel report when you export the report to excel, you have hidden all the items in the Page Header by using the Globals, right?
This blank row is for the page header, although you have hidden all the items in it, but it will still display when export report to excel. Because we can’t hidden the page Header directly. Normally, we can hidden all the items in the page Header, So in
the design phase we can also see the blank area above the report body when preview.
We have an alternative way by add the “SimplePageHeaders” setting in “RSReportserver.config” file, after configuration the page Header will not display in the first row of the worksheet but is rendered to the Excel page header. In Reporting Services, the
“SimplePageHeaders” default value is “FALSE” and it indicates that the page header is rendered to the first row of the worksheet. In order to display the page header in the Header/Footer section of Excel, we need to set the “SimplePageHeaders” setting value
to “TRUE”. I did a test on my local machine and here are my steps:
Navigate to RSReportserver.config file: <drive:> Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
Backup the RSReportserver.config file before modify it, open the RSReportserver.config file with Notepad format.
Set the Excel rendering extension code like this:
<Render>
<Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering">
<Configuration>
<DeviceInfo>
<SimplePageHeaders>TRUE</SimplePageHeaders>
</DeviceInfo>
</Configuration>
</Extension>
</Render>
4. Save the RSReportserver.config file.
Note: Changing the rendering extension parameters only affects rendering operations on the Report Server.
When I access to Report Manager and export the report(includes a page header) to Excel format, the blank row will disappear now.
Similar thread for your reference:
SimplePageHeader property in SSRS 2008 not working
Removing 2 top blank rows when export to excel in ssrs 2008
r2 report
You can find more detail in these articles about the page header and page footer:
Exporting to Microsoft Excel (Report Builder and SSRS)
If you still have any question, please feel free to ask.
Regards
Vicky Liu -
Splitting worksheets by blank rows
Hey guys,
So I have a bunch of text files, which I need to import into Numbers. The thing is, each one needs to be in a separate sheet, but in the same book, and there's 50 of them, so dragging and dropping each of them into their own spreadsheets is a pain.
As an alternative, I put together a quick Automater script that combines all 50 text files into one, which is separated with blank lines. So, if I could import this file, and then split the worksheets by the blank rows somehow, I'd have solved my problem. A quick google didn't turn up much on how to do this, or if it's possible. Anyone know?
As an aside, I was going to try to simply write a script that imports each text file automatically into its correct worksheet. Unfortunately, it doesn't look like Automater has much support for importing stuff into Numbers above simply opening a file, and I need all 50 in the same file, not in 50 different ones. But if anyone knows of a way to do this, that would also be helpful.Here's my take on it:
You have a single document and you want it to have 50 tables, each table in a separate sheet.
You have been able to make a single table that contains all of the data.
You did not say what format your text file was. Is it a CSV file?
Here is what I might do:
New document
Delete the table in Sheet 1
Rename the sheet in the sidebar. At least remove the number.
Select the sheet in the sidebar and copy (Cmd C)
Paste it in the sidebar 50 times (Cmd V)
All the sheets will be numbered except the original one. Delete the original sheet.
If your text file is a CSV file, drop it on the first sheet and it will make a table from it. Otherwise, copy and paste the table from your other document that has the data in it already.
Select a set of rows that you want to move to a new table.
Cut (Cmd X) or copy (Cmd C). Cut makes it easier to see what you've done.
Paste onto one of the other sheets in the sidebar (Cmd V) and it will create a table
Repeat for your other sets of rows. 49 times in all, ouch.
Delete all the empty rows in your first table.
Still a lot of work. All the tables should end up as Table 2, except the original one. -
Extra blank rows in vba spreadsheet zoom
Here's how it happens:
- in Excel 2003 VBA
- two row dims
- right row dim is fixed list of mbrs
- left row dim is single member zoom
- sheet has other stuff on it, so retrieve range is not entire sheet
- top of retrieve range is in row 6
so when I call EssVZoomIn() in this situation, the result is that there are 5 blank rows between each instance of a member in the left row dim. That is the exact number of rows above the retrieve range in this sheet, and it turns out that is the variable: if I move the retrieve range to row 7, I get 6 empty rows everywhere.
I have tried every spreadsheet option that would appear to have any impact, no joy. I have tried using a free form mode retrieve, which works, but then I can't preserve formulas in the sheet, which I need to do.
I can work around this, but what a silly thing to have to do, like do the zoom in a separate sheet, or remove all the empty rows after the zoom. Does anyone have any ideas about how to disable this "feature"?
Thanks!Dheepan wrote:
I am trying to spool a table result to a .dat file.
The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
Eg:
Original data as in DB
A B C
1 1 ABC DEF GH
2 1 DEF GHI JK
SPOOL FILE O/P
A | B | C |
1 | 1 | ABC |
| |DEF |
| |GH |
2 | 1 | DEF |
| | GHI |
| | JK |
Thanks,
Dheepancan you post script?
BTW, have you included SET TRIMSPOOL ON ?
When you have moved your question, Close that thread ORACLE SPOOLING extra blank rows
Edited by: CKPT on Mar 24, 2012 10:07 PM -
How to add blank rows between groups of duplicate rows?
here is my setup
create table #tmpA(rowID int identity(1,1), fName varchar(10), lName varchar(10))
insert into #tmpA
select 'a', 'b' union all
select 'a', 'b' union all
select 'c', 'd' union all
select 'c', 'd' union all
select 'e', 'f' union all
select 'e', 'f' union all
select 'g', 'h' union all
select 'g', 'h'
select distinct fName, lName
into #tmpB
From #tmpA
select t1.* from #tmpA t1 Join #tmpB t2 on t1.fName = t2.fName and t1.lName = t2.lName
--output
rowID fName lName
1 a b
2 a b
3 c d
4 c d
5 e f
6 e f
7 g h
8 g h
I want to add blank rows between rows 2 & 3 and between rows 4 & 5 and between rows 6 & 7 in the join query above. Is there Tsql that can accomplish something like this to make the join query result look like the following output?
rowID fName lName
1 a b
2 a b
3 c d
4 c d
5 e f
6 e f
7 g h
8 g h
or if this is not possible I could go with an output like this:
rowID fName lName
1 a b
2 a b
3
4 c d
5 c d
6
7 e f
8 e f
9
10 g h
11 g h
Rich PI came up with the following on my own. I was just hoping there might be a fancier way to do this - like without looping -- and yes, I could/should do this in a presentation layer, but I just wanted to do this in Query Analyzer (or whatever they call
it now -- SSMS ...) -- BTW, thanks CELKO for the suggestion about how to insert multiple rows using Values -- works great.
If (object_id('tempdb..#tmpA') is not null) drop table #tmpA
If (object_id('tempdb..#tmpC') is not null) drop table #tmpC
create table #tmpA(rowID int identity(1,1), fName varchar(10), lName varchar(10))
insert into #tmpA
values
('a','b'),
('a','b'),
('c','d'),
('c','d'),
('e','f'),
('e','f'),
('g','h'),
('g','h')
create table #tmpC(rrowID int Identity(1,1), rowID int, fName varchar(10), lName varchar(10))
declare @i int, @s varchar(10), @t varchar(10), @u varchar(10), @v varchar(10)
select @i = min(rowID) from #tmpA
set @u = 'xx'
While (@u != 'yy')
Begin
select @s = fName, @t = lName from #tmpA Where rowID = @i
if exists(select 1 from #tmpA Where rowID = @i + 1)
select @u = fname, @v = lName From #tmpA Where rowID = @i + 1
else
set @u = 'yy'
if @s = @u And @t = @v
begin
Insert Into #tmpC(rowID, fName, lName) Select * from #tmpA Where rowID = @i
Insert Into #tmpC(rowID, fName, lName) Select * from #tmpA Where rowID = @i + 1
end
else
begin
Insert Into #tmpC(rowID, fName, lName) Select null, '', ''
end
set @i = @i + 1
End
select * from #tmpC
--output from #tmpC
rrowID rowID fName lName
1 1 a b
2 2 a b
3 NULL
4 3 c d
5 4 c d
6 NULL
7 5 e f
8 6 e f
9 NULL
10 7 g h
11 8 g h
12 NULL
Rich P -
I am trying to skip displaying a row if the value of a field is blank. Here is the details:
I have an XML file that has 5 Fields, a, b, c, d, e. Data in field D can be quite long, so I want to display field D on a separate row, but not every record has a value for field D. So, the output should look like the following:
a, b, c, e
d
a, b, c, e
a, b, c, e
a, b, c, e
Currently, I have 2 rows in a table, but what is happening is that if D is blank, I am getting a blank row:
a, b, c, e
d
a, b, c, e
a, b, c, e
a, b, c, e
I want to remove the blank row if D is blank.
Thanks in advance for your assistance.Here is the XML, where ISSUE_NOTE is field D in previous threads:
<LIST_G_STATUS>
<G_STATUS>
<ISSUE_STATUS>IS_Closed</ISSUE_STATUS>
<LIST_G_ISSUE>
<G_ISSUE>
<ISSUE_ID/>
<ISSUE_NAME>New regulations</ISSUE_NAME>
<ISSUE_NOTE/>
<PROJECT_ID>xyz</PROJECT_ID>
<ISSUE_STATUS>IS_Closed</ISSUE_STATUS>
<ISSUE_PRIORITY>PT_Normal</ISSUE_PRIORITY>
<ISSUE_CRITICALITY/>
</G_ISSUE>
<G_ISSUE>
<ISSUE_ID/>
<ISSUE_NAME>Product Mgr changed Platform Support Doc</ISSUE_NAME>
<ISSUE_NOTE/>
<PROJECT_ID>PROD00414</PROJECT_ID>
<ISSUE_STATUS>IS_Closed</ISSUE_STATUS>
<ISSUE_PRIORITY>PT_Low</ISSUE_PRIORITY>
<ISSUE_CRITICALITY/>
</G_ISSUE>
<G_ISSUE>
<ISSUE_ID/>
<ISSUE_NAME>Forecast Overrun</ISSUE_NAME>
<ISSUE_NOTE>Jeff:
I noticed that the forecast for Autumn Breezes shows a $512,000 cost overrun. I dug into it a little bit and found the problem area is in Building 1 Interior Finishes. I remember you telling me that we were having some problems with that subcontractor's productivity. Is this still the case? We are only 6 months into this project and I don't want this problem to grow. Can you fill me in on what is happening and you and I can work together to resolve it.
Thanks for your help and hard work!
Bruce
V.P. of Construction</ISSUE_NOTE>
<PROJECT_ID>abc</PROJECT_ID>
<ISSUE_STATUS>IS_Open</ISSUE_STATUS>
<ISSUE_PRIORITY>PT_High</ISSUE_PRIORITY>
<ISSUE_CRITICALITY/>
</G_ISSUE>
<G_ISSUE>
<ISSUE_ID/>
<ISSUE_NAME>Finish Date Variance (days) is -26d on WBS: Harbour Pointe.8</ISSUE_NAME>
<ISSUE_NOTE/>
<PROJECT_ID>abc</PROJECT_ID>
<ISSUE_STATUS>IS_Open</ISSUE_STATUS>
<ISSUE_PRIORITY>PT_Normal</ISSUE_PRIORITY>
<ISSUE_CRITICALITY/>
</G_ISSUE>
</LIST_G_ISSUE>
</G_STATUS>
</LIST_G_STATUS>
Maybe you are looking for
-
How to write conversion routine for key figure?
Our customer has this requirment: we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this: 00:08:20, If a TV program last 100000 seconds, we need show the key figure lik
-
Dear, I got favourable reply from your managment. So I am very greatful to you . As I have stamp model number that I am having HP Pavilion g6-2237us Notebook some glitch took place that stalls notebook to shutdown. Wheather any exe. file is require
-
5508 unable to form redundant pair
Hi, We have two 5508 controllers which were actually working fine in ap sso mode when it was initially configured. Due to a recent network move, both 5508 were removed from current location & installed at another location. When we re-installed & conn
-
Is there a dialog to choose a folder?
If I use the standard Export dialog, the Export Location section has a button labeled 'Choose...' for custom folder locations. If I choose that, I get (at least on Windows) the standard directory-chooser dialog (i.e. not meant for choosing files, jus
-
I can not open anyy thing someone sends me
some one will send me a add to open and look at it and i can not ,it will go to a file ,can not open that