Hide zero rows based on keyfigure
Hi Experts,
In my report i have a characteristic and 2 keyfigures B and C for eg . i want to display only those records where B has some value, if value in a cell is zero or empty then the entire column shoudnot be seen.
For eg:
Char KeyB KeyC
Q 15 10
R 50
Report should show
Char KeyB KeyC
Q 15 10
Second row shouldnt be shown as there is no value in keyB.
At present, i m getting all the records as displayed above.
Is there any solution to this problem?
Regards,
Vaishnavi.
May be u have the blank values in the report thats why the condition is not working it seems. Did u try with the above post which has mentioned the condition.
If it wont work we can write the If condition in the formula and we will write the condition on the new formula. And also go to the querry properties desect the supress zeroes, may be u have specified the supress zeroes thats y it is showing blank values.
Khaja
Similar Messages
-
How to hide zero rows from a structure
Hi
I have a month structue in rows which consists of 36 months. In the keyfigure coulmn also I have a structure with 6 keyfigures. In normal circumstances there will be values only upto 12 or 15 months. I want to hide the remaning rows. Is it possible.
I created a counter on one important keyfigure so that when value>0 it is 1 otherwise 0. I call this counter. Then I tried to create a condition to show only the 1. But while creating the condition after the keyfigure a column for month with the different elements of structure has to be selected. And of course the condition does not work.
Any suggestions how to hide the zero rows of structure
RamRight click on the key figure structure and characterstic structure select 'Properties' and check the option 'Also use Zero Suppression for Structure elements'.
Also from the query properties select the 2nd tab display and select the option Suppression "Active All Values = 0" and from Effect on Select "Rows and Columns".
Thanks. -
Hi all,
Need to hide all rows from 114 to say 500 where there the sum is zero in column D.
Note any blank rows should remain unhidden.
Thanks,
- MikeHi
Try this...
Sub HideRows()
Dim lst As Long, i As Long
On Error Resume Next
Application.ScreenUpdating = False
lst = Cells(Rows.Count, "D").End(xlUp).Row
For i = 114 To lst 'lst is your last row with data, you can change that for 500
If Cells(i, 4).Value <> "" And Cells(i, 4).Value = 0 Then
Cells(i, 1).EntireRow.Hidden = True
End If
Next i
Application.ScreenUpdating = True
End Sub
'This macro is to unhide all the hidden rows
Sub UnHide_Rows()
Cells.EntireRow.Hidden = False
End Sub
Cimjet -
Hide zero rows - have values in hidden col, but formula col in rpt is -0-
In Hyperion Reporting Studio, I have a report that's set up as follows:
Row1: Descendants of Projects
Columns: A - C are data columns (hidden)
D - formula [A] - - [C] (shown on report)
Basic suppression is chosen for row1. In the report, column D still shows any projects with -0- value. What settings do I need to use to suppress any rows where the formula (col D) = 0?
I've been going in circles with the Advanced Options, rounding, etc.
Thanks in advance for any help.Basic suppression is chosen for row1. In the report, column D still shows any projects with -0- value. What settings do I need to use to suppress any rows where the formula (col D) = 0?From above what I can understand is that you want to suppress row when formula(col D)=0. Is so then this can be done by Using the Advanced Option in Conditional Suppression "Suppress Row If Data/FormulaValue in Cell" say D,1 Is Zero.
-
How to HIde rows based on User Selection
I have a requirement where in I have to hide some rows based on Plant Name selected by USer at the time of opening the report.
Here is the screen shot:-
Here I am seeing two Tag Types MACT and Average when User selects Luling Plant. But When User selects some other Plant I don't want to see Tag Type 'MACT' in this table.
We have a predefine filter for Plant.
How can I achieve that. The data in White Rows is Average values.
Please help.
RegardsHi Shalini,
Is user selecting Plant Name from the report prompt. If Yes, then try below-
Create a variable-
FilterSelect= If UserResponce("WritePromptTextHere") =" Luling Plant" and TagType inList ("MACT";"Average") Then 1 ElseIf UserResponce("WritePromptTextHere") <>" Luling Plant" and TagType inList ("MACT";"Average") Then 3 Else 2
Apply Filter on "FilterSelect" variable-
FilterSelect=1 and 2
~Anuj -
SALV - Hide rows based on certain condtion
All,
I have searched a lot in this forum this answer, but could not find any nearest one.
I am using CL_SALV_TABLE (SALV) for an ALV report. I wanted to hide some rows based on some condition say for example
in the ALV one of the column is MATNR say i wanted to hide rows that having MATNR less than 1000.
How we can do this ?
Thanks
a®Good day, everyone!
Ive faced the same issue - I either have to hide a row or to change subtotal line manually.
Have anyone solved this already?
PPShinde wrote:
HI!
> I think u first calculate total in internal table. save that totals into some veriable and then remove those lines which u dont want to show from internal table and then calculated total append into that internal table .
> I thinks it will work!
> all the best!
I can't find anything that looks like a table for subtotals - they are counting somewhere inside SALV.
Or, maybe, you know something that I dont?
Clemens Li wrote:
If people insist on the requirement, disable SUM and create your own total line.
Add my own total line? How can I do this? -
How to hide a row in BI Publisher using conditional formatting
Hi,
I am using BI Publisher 11.1.1.5.0.
I need to hide entire row based on the condition (if sal > 0 then hide entire row), please can you help on how can I achieve this?
thanksHi,
I've found the solution in
Report Designer's Guide for Oracle Business Intelligence Publisher Release 11g (11.1.1) Part No. E13881-02 - Section Conditional Formatting.
thanks -
Hide multiple rows in a dynamic table based on the row value.
Hi,
I need to hide multiple rows in a dynamic table based on the specific value of that row.
I cant find the right expression to do that.
please helpGo to the Row Properties, and in the Visibility tab, you have "Show or hide based on an expression". You can use this to write an expression that resolves to true if the row should be hidden, false otherwise.
Additionally, in the Matrix properties you should take a look at the filters section, perhaps you can achieve what you wish to achieve through there by removing the unnecessary rows instead of just hiding them.
It's only so much I can help you with the limited information. If you require further help, please provide us with more information such as what data are you displaying, what's the criteria to hiding rows, etc...
Regards
Andrew Borg Cardona -
Hide one row on Advanced List Pane based on field value
Hello everyone,
I have a question for you:
Is it possible to hide one row on an Advanced List Pane based on the value of a field of that row?
Here is the actual case:
I have a custom B.O. called "Product Group". This B.O. has an Internal ID and a Description at Root level.
In this B.O. I have a One-Too-Many node called "Descriptions".
On the T.I. of the Product Group there is a tab called "Other Languages". On this tab a user can provide translations for numerous languages for the Product Group Description.
When you create a new Product Group a translations is automatically added for the Current User Log On Language.
Now I want to hide that row in the Advanced List Pane and only show the translations where the "Target Language" is DIFFERENT from the Current User Log On Language.
So in the screenshot above you see we have 3 translations: "Bébé" (FR), "Baby" (EN) and "Bebé" (ES).
Now I want to hide the "Baby" (EN) translation if the Current User Log On Language is English, hide "Bébé" (FR) translation if the Current User Log On Language is French, etc. ...
The Advanced List Pane is currently bound to Descriptions node.
Thanks & Regards,
GlennHello Glenn,
Please refer the below video.
SAP Cloud Dev: Extensibility and Dynamic UI - Part 1 - YouTube
Here Dynamic UI is achieved for input field. You can create transient radio button for each possible records, check the User Logon Data and uncheck the radio button specific to it.
Regards,
Chandan -
Hide or delete row based on it's value?
If I have a column called "Name" and I want to delete or hide all the rows which include the name "smith" or alternatively all the rows with "Miss" how do I do this?
I know I can manually search to find the name "smith" but I have 60,000+ rows in my spreadsheet.
Format:
Column 1
Row 1: Miss J Jones
Row 2: Mr P Smith
Row 3: Mr C Widget
etc...
Thanks.Here is an AppleScript whic is able to delete the rows matching your criteria.
--[SCRIPT removematchingrows]
Enregistrer le script en tant que Script : removematchingrows.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 une cellule de la colonne dans laquelle le script cherchera le mot clé.
menu Scripts > Numbers > removematchingrows
Tapez le mot à chercher puis cliquez OK.
Le script supprimera les lignes dont la cellule de la colonne sélectionnée contenait le mot saisi.
--=====
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: removematchingrows.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 in the column in which we will search a key word.
menu Scripts > Numbers > removematchingrows
You will be asked to type the word to search.
Type it then click OK.
The script will remove the rows whose the cell of the selected column contained the choosed word.
--=====
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/03/24
--=====
on run
if my parleAnglais() then
set theKey to text returned of (display dialog "Enter the word to search …" default answer "At least one cell of the column in which we will search must be selected.")
else
set theKey to text returned of (display dialog "Saisir le mot à chercher …" default answer "Une cellule de la colonne dans laquelle il faut chercher doit être sélectionnée.")
end if
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
set nbRows to row count
repeat with r from nbRows to 1 by -1
set maybe to (value of cell r of column colNum1) as text
if words of maybe contains theKey then
remove row r
end if
end repeat
end tell -- Numbers
end run
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
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
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
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(item 2 of two_Names, d_Name, s_Name, t_Name)
end if
return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
apply to named row or named column !
on decipher(n, d, s, t)
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
set nbCols to column count
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]
At this time, I don't know how to Hide a row thru AppleScript.
Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 17:02:20 -
Webi: unwanted zero rows suppression on BEx selection structure
Hello,
I have a Webi report/universe based on a BEx query having 2 structures: keyfigures in columns, characteristics selection structure in rows. We are still using BO XI 3.1 SP1.
Now: the webi report suppresses the zero rows of the char structure, but we do not want that. in the bex query, there is no active zero rows suppression.
I read in a similar thread about the opposite and that it will be fixed with XI 3.1 SP3:
Re: Zero Rows suppression is not working in Webi report.
Question: does anyone know, if "my" case is also solved by SP3? or anyone knows a workaround?
Unfortunately the PDFs XI31_SP3_Fixed_Issues_1of2.pdf and XI31_SP3_Fixed_Issues_2of2.pdf of SAP note 1457545 contain no information about this point.
Thanks and regards,
PhilHi Ingo,
thanks for the workaround tip!
In BEx query I tried with a calculated keyfigure set to "1" and alternatively with a restricted keyfigure set to "constant selection". Unfortunately, both did not work, the webi report was clocking long after the bex process was finished in BW.
Then I got error WIS 30284 ( universe connection corrupt) and 30285 (no free memory). But maybe we just have an issue with webi server performance.
anyway, thanks!
Best regards,
Phil
Edited by: Phil on Jun 23, 2010 10:42 AM -
In RTF Template how to Hide a row conditionally
Hi,
Have requirement to hide Row based on condition. I have table in that 4 rows are there. Want to hide row based on condition.tried following statement didn't work.
<if@row:field!="Yes"><?end if?>
Help me to reslove this issue..
Thanks
-sriniNeed more details. What is your field name? You could try this: <?if: field!='Yes'?> (no double quotes) <?end if?>
Do you have a for-each in your code? Use it after that and enclose all the columns you want to hide between the if and end if condition.
or send me the template and xml to [email protected]
Check out the report developers guide and the row formatting section for an example as well.
You can just use an <?if:condition?> <?end if?> to do this.
Edited by: BIPuser on Apr 21, 2011 1:55 PM -
Bug Report: ResultSet.isLast() returns false when queries return zero rows
When calling the method isLast() on a resultset that contains zero (0) rows, false is returned. If a resultset contains no rows, isLast() should return true because returning false would indicate that there are more rows to be retrieved.
Try the following Java source:
import java.io.*;
import java.sql.*;
import java.util.*;
import oracle.jdbc.driver.*;
public class Test2 {
public static void main (String [] args) throws Exception {
Connection conn = null;
String jdbcURL = "jdbc:oracle:thin:@" +
"(DESCRIPTION=(ADDRESS=(HOST=<host computer>)"+
"(PROTOCOL=tcp)(PORT=<DB port number>))"+
"(CONNECT_DATA=(SID=<Oracle DB instance>)))";
String userId = "userid";
String password = "password";
try{
// Load the Oracle JDBC Driver and register it.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
// *** The following statement creates a database connection object
// using the DriverManager.getConnection method. The first parameter is
// the database URL which is constructed based on the connection parameters
// specified in ConnectionParams.java.
// The URL syntax is as follows:
// "jdbc:oracle:<driver>:@<db connection string>"
// <driver>, can be 'thin' or 'oci8'
// <db connect string>, is a Net8 name-value, denoting the TNSNAMES entry
conn = DriverManager.getConnection(jdbcURL, userId, password);
} catch(SQLException ex){ //Trap SQL errors
// catch error
//conn = new OracleDriver().defaultConnection(); // Connect to Oracle 8i (8.1.7), use Oracle thin client.
PreparedStatement ps = conn.prepareStatement("select 'a' from dual where ? = ?", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); // Use any query that will return zero rows.
ps.setInt(1, 1); // Set the params so that the query returns 0 rows.
ps.setInt(2, 2);
ResultSet rs = ps.executeQuery();
System.out.println("1. Last here? " + rs.isLast());
while (rs.next()) {
// do whatever
System.out.println("2. Last here? " + rs.isLast());
ps.close();
rs.close();
EXPECTED RESULT -
1. Last here? true
2. Last here? true
ACTUAL RESULT -
1. Last here? false
2. Last here? false
This happens to me on Oracle 9.2.0.1.0.387561,
For your information, I discovered this problem from
running a query that did access an actual DB table.
Try it and let me know.I did say I was only guessing, and yes, I did try it (after I posted my reply, and before I read yours). And I did check the query plan for the queries I tried -- to verify that they were actually doing some database "gets".
In any case, the usual way that I determine whether a "ResultSet" is empty is when the very first invocation of method "next()" returns 'false'. Is that not sufficient for you?
Good Luck,
Avi. -
Is there a way to hide some reports based on the selected values in prompt.
Hi Experts,
Is there a way to hide some reports based on the selected values in prompt.
For ex. if a year is selected in the prompt then the report should display year wise report.
If a year and half year both are selected in the drop down from prompt section then 2 reports should come.. One for year wise and another for half year wise.Kindly look into this.
Regards
AshishHi,
Use presentation values in prompts for year,half,qtr and month.Example- For year-y is presentation variable in the same way for halfyear-h,qtr-q and month-m.
create four intermediate reports.Example-Report r1 with only year column,r2 with only halfyear column,r3 with qtr column and r4 with month column.
Make column in each report(r1,r2,r3,r4) is equal to their presentation variables(y,h,q,m).
Use four sections.
Section1-Place report that should come when only year.
section2-Place report that should come for year and halfyear.
Section3-Place report that should come for year,halfyear and qtr.
Section4-Place report that should come for year,halfyear,qtr and month.
Apply guided navigation for each section selecting guided navigation-
For section1-
properties->Guided navigation->check this Reference Source Request(Yes)->select report r1(year)->check this Show Section(if request returns row)
In the same way do for remaining section2(select r2),section3(select r3) and section4(select r4)
Thanks,
Srikanth
http://bintelligencegroup.wordpress.com/ -
How can I select and delete rows based on the value in one column?
I searched through the discussion board, and found a thread on deleting blank rows, but not sure how to modify it to work with my issue.
I have put together a rather complicated spreadsheet for designing control systems, it calculates parts needed based on check boxes selected in a second spreadsheet.
Since not all systems require all parts there are many rows that have a 0 quantity value, I would like to select these rows and delete them once I have gone through the design phase (checking off required features on a separate sheet).
I like the way the other thread I found will gather all the blank rows at the bottom without changing the order of the rows with data in them.
I don't understand exactly how the formula in the other thread works well enough to modify it to look for a certain column.
I hope I made myself clear enough here, to recap, I would like to sort the rows based on a zero value in one (quantity) column, move them (the zero quantity rows) to the bottom of the sheet, and then delete the rows with a zero quantity (I can delete them manually, but would like to automate the sorting part).
Thanks for any help anyone can provide here.
DannyI apologize but, as far as I know, Numbers wasn't designed by Ian Flemming.
There is no "this column will be auto-destructing after two minutes"
You will have to use your fingers to delete it.
I wish to add a last comment :
if your boss has the bad habit to look over your shoulder, it's time to find an other one.
As I am really pig headed, it's what I did. I became my own boss so nobody looked over my shoulder.
Yvan KOENIG (VALLAURIS, France) mercredi 13 juillet 2011 20:30:25
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !
Maybe you are looking for
-
Correct Forum? CGI and Server behaviour on Solaris at system()-call
Hi to you all, Do not know if i am in the correct forum, but maybe it is a Webserver problem. I have Sun ONE Webserver 6.1 running on Solaris. Craete some CGI`s in C. Now I have a problem with one CGI, which have to call a Shellscript via system() ca
-
Hi all, I've gotten the header/trailer removed in the sender communication channel using java mapping and now must take the resulting detail rows and only allow them to be 80 characters in length and in flat text format (as it was initially). Below i
-
Indesign doesn't open after download
error 11 what can I do?
-
Manual BP creation in Interaction center
Hi all, We got a new requirement stating, that we need to create a bp with basic details(address and bank account details) manually in interaction center. Manually means, user will give the bp and we need to create a business partner with the same bp
-
Restored database, can't perform 'System Restore'
We've just performed a system reset of a system by performing a database restore to a version from a few months back. I now need to reapply the SC's that have been modified since the initial database snapshot. However, when I try to perform a restor