0 ratings0% found this document useful (0 votes) 72 views6 pagesHiding Unwanted Rows in Webi Report
Hiding unwanted Rows in Webi Report
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
Hiding unwanted Rows in Webs Roport
Register| Login
This space for rent!
BOB Click for more details on BS B
‘Board our sponsor program Board
Index| About
Want to sponsor BOB? (Opens anew window)
Sponsors | ContactUs | Calendar | FAQ | Rules and Guléalines | Privacy Policy | Search
‘General Notice: Upcoming Events: Dallas Forlorn Chapler Heating: Apr 1S, Colorade Chapter Mectina: Apr 22, UK Business Inallgenee SIG: Abe
Ea
Hiding unwanted Rows in Webi Report Search this topic. |Search Webinteligence XI. | Search Box
Reglster or Login to Post Forum Index -> Bullding Reports -> WebIntelligence XI
a
Back to top
Make
Forum Atco
do
deine 96 Jen 2005,
ack to top
Droste Sun Nov 21,2010 6:28 am
Post subj ng utara Rows In Webi Report
Hi,
Thave already gone through BO Forum Topics to some extent but couldn't find much,
Is there a way in Webi to hide unwanted rows (say, Ido have a calurnn on which T want te hide these rows). Suppose,
Column value is -1 and what I want is IFT can place after based on this coulmn so, that I can hide a row.
1 did achieve a solution by hard-coded SQL but fis against the Best practices (Suppose fuser drages crops another
object then SQL will change.
Please advise 9 best possible solution.
‘Thanks
sem,
ade
[Posted Sun Now 23, 2010 6:50 a
For bec: Re: Hing urwanted Rowen Webl Report
Create a fag:-
cod
SEE (jobject 1)="-2 7178)
‘Then fiter of the 1s
‘Business Objects Versions 4,5,6, XI R2, 3.2, 4.1 P3
Oracle, SQL Server, Sybase, Netezza, SAP BW.
Red Adair: “Ifyou think it's expensive to hire a professional todo the job, wait until you hire an amateur.”
[Posted Sun Now 23, 2010 12:26 am
Fare bec: Re: Hing unwanted Rowen Webl Report
4
‘Tanks alot for your valuable inputs.
Iiipuhwww forumtopies.com/buscbviewtopic prp%p=775A82 6a
ack to top
sbames794
Pencpal vember
Hiding unwanted Rows in Webs Roport
1 wl try this one end will get back to you how It goes. Just wanted to highlight, I tred the following steps before:
1) Set a Report Variable to -1 (Integer.
2) Set the column valve to this variable
3) Now, create a Report fiter based on this clumn/varlable=
orn ist.
But I think T went wrong somewhere on this.
Thanks
Sam,
Diostes: an Rov 22, 2010 7:45 am
Mak,
Situation is dierent now.
‘The user report is some what lke this:
1) The default universe SQL Is bringing data in the following format:
Agent Name - Company Name hours worked - Total Hours
XenyZ 12-24
X29 13-3
Y-ABC 4-5
2) The report has some calculated Fels (which isthe actual display we need) and brings Max of above rows for each
Agent:
Currently, Report is spaying the following results (Universe SQL. results + calculated results)
‘Agent Name - Company Name - hours worked - Total Hours
X-HyZ 12-24
X-xyZ 13-3
X=20 13-26
Y-ABC-4-5
Y= ABC 4-5
3) So, I would lke to suppress the default SQL result in report and cisplay onWy calculated result values:
‘Agent Name - Company Name - hours worked - Total Hours.
X-XYZ 13-24
Y-ABC 4-5
Its bit confusing for me, but appreciate your urgent help on this issue please,
Thanks
Sam,
Droste: Won Rov 22, 2010 1:25 am
Post subj Rat Hit unwanted Rahs in Webl Report
11am assuming the two rows you want are in a break ooter oF section footer, If so then all you need to dois create a
table that has Agent Name, Company Name, Max(Hours worked) variable, Max(Total Hours) Variable. Do not put the
hours worked and total hours measures from your query in the table. This should give you want you want
ipahwwwfrumtooes.com/busotiewtopi. php 7p=77SA8242016
=
Back to top
a
ck to top
sbames794
Back to top
iorardout
foo ©
Hiding unwanted Rows in Webs Roport
Droste Tue Nov 28,2010 6:32 am
Post subject: Re! Hig unwanted Rows in Web| Report
HL,
“Thanks a lot! The solution works for me,
‘The only thing remaining is:
41) Now, the Report result cispay is something lke tis.
Agent Name - Company Name - hours worked - Total Hours
X- XYZ ~ respective max hours worked - respective max total hours
X- XYZ ~ respective max hours worked - respective max total hours
X- XYZ ~ respective max hours worked - respective max total hours
'Y “ABC - respective max hours worked respective mex total hours
'Y “ABC - respective max hours worked respective max total hours
2) So, as you can see I do get an expected result but with duplcacy.
Somehow, using report variables I managed to get the result as
Agent Name - Company Name - hours worked - Total Hours.
X- blank - respective max hours worked - respective max total hours
X- blank - respective max hours worked - respective max total hours
X- XYZ ~ respective max hours worked - respective max total hours
blank - respective max hours worked - respective max total hours
'Y “ABC - respective max hours worked respective max total hours
But don't know how to display only one record within the BO report?
Davosted: Tus Nov 23,2019 8:54 am
ast subj: Re! Hig unwanted Rows in Webi Resort
“That is odd. Something about your situation is not as simple as you are defining
‘Are total hours and hours worked objects that come from universe defined as dimensions or measures?
bo the agent name, company name, total haurs and hours worked come from the same date provider? If nt how are
‘the actual cata providers defined?
be you have any breaks applied in your table?
“Try creating a new repo tab and bull a table from scratch n this new report tab to see ft glves you one row per
‘Agent Name and Company
Droste Toe Noy 23,2010 10:12 am
oc subj: Re: Hichg unwanted Rows in Web| Report
‘Agent Name - Company Name - hours worked - Total Hours.
X- blank ~ respective max hours worked - respective max total hours
X- blank - respective max hours worked - respective max tetal hours
X- XYZ ~ respective max hours worked - respective max total hours
'Y- blank - espactive max hours worked - respective max total hours
'Y “ABC - respective max hours worked - respective max total hours
But don't know how to alsplay only one record within the BO report?
ipahwwwfrumtooes.com/busotiewtopi. php 7p=77SA82482016
ack to top
a
Back to top
a
Back to top
sbarnes794
Joined 13 34n 2008,
ipahwwwSrumtooes.com/busotyiewtopic.prp%p=775A82
Hiding unwanted Rows in Webs Roport
**1f you have something Ike this and want just one row, you can create a variable for Company Name such as v_CN
and use the veriable as a report level iter v_CN Is Not Null (blank). This should gve just one row for X and one row for
x.
Droste: Tue Woy 23,2010 10:57 am
Pos subject: Re: Hichg unwanted Rows in Web| Report
1 think, I missed something in my previous reply
Actually, there is only a single Universe anc a Data Provider being used for this 80 report. The only thing is that SQL is
fetching Individual rows; out of which we are calculating maximum hours et.
We have certain cimensions/measures which are calculating max out of sql based rows, for ex
Agent 1d||Agent Name| [Company Id||Company Namel|Hours worked] [Total Hours
1 [|Peter|IX¥1 x2 Col20]|100
11]Peter|IABIABC Col|50 160
2|IDavidl MS|IMSKYZ Col 51120
So, what is expected from Report isto dsp’
11 Peter PxvI V2 Co}}50] 100
2|[David| MS] MSXYZ Co 51120
‘Agent Id, Agent Name, Company Code w-rt. Max Hours worked, Company Name w.rt, Max Hours warked, Total Hours
again Max out of SQL Hours ealurnn,
Based on certain string combination, I was abe to figure out Max Company name/code ie. Max ofallthe (nours +" +
‘Company Code +" + Company name) etc and then using substr to extract the same.
But It's going through SQL rows based loops and stil cisplaying all the rows, I am unable to restrict the same,
I you need more detals then please do let me know.
Please advise
Droste: Tue Nov 28,2010 11:02 am
Post subject: Re! Hig unwanted Rows in Web| Report
Sorry, one correction is there, Expected output to be dsplayed in report is:
So, what is expected from Report isto display:
4 [[Peter||AB||ABC Co})}50}100
2|[David| MS|MSXYZ Co 151120
‘AB/ABC Co. because this has the maximum Hours Le. 50.
[Posted Tue Nov 23,2010 21:57 am
ost sub: Re: Hig unwanted Rows in Webl Report
‘So the problem is you have more than one company assigned to a given agent which is causing the multiple rows. With
what you are trying to ¢o it looks lke Peter worked 50 hours for company AB for a total of 100 hours for company AB
but ths really sn the case. Peter worked for two companies not one. Seems lke your report is missleading the person
who receves it because you are hiding how many companies Peter worked for
Anyway if this is what the end user wants then so bei
When you showed the table below i this displaying the correct Company Narn
Quote:482016
Back to top
Sener Member
a
Back to top
a
Joinet 97 0c 2008,
ows 6
ck to top
o
Hiding unwanted Rows in Webs Roport
‘Agent Name - Company Name ~ hours worked - Total Hours
X blank - respective max hours worked - respective max total hours
X_ blank “respective max hours worked - respective max total RoUrs
X_ vz: respective max hours worked «respective max total Noure
¥ bla “respective max huis worked respecive may ttl Noirs
fits then try what jorardeul suggested: Use your variable that you created to get the above
blank,blank.X¥X,blank,ABC rows as.afiter on the table excluding rows where the variable sis null
Droste: Wes Nov 26, 2010 9:27 arn
Pos subject: Re! ig unwanted Rs in Webi Resort
Hi,
Thanks a ft
1am almost done with it.The ast step of fiter Is ving exception/error.
[As of now, the rows I want to display n the report are based on the two column values/Report variables. Now, Ihave
created a variable something ike:
It Is working as expected showing 2s and 0s In a separate block column, Now, If try to add after based on this
variable i, Var Display equal to 1 or in list 1, an Java exception is thrown ‘Unable to get the fist page ofthe current
report WH) 20003 and details
Stack trace:
Java.lang.RuntimeException: Empty result
at com businessobjeces. wpe result ResultXmIReport.displayPages(Unknown Source) at
‘com.businessobjects.wp.tc.TCMain.updateXmIDocument(Unknown Source) at
com.businessobjects.wp.tc-TCMain.updateXmiDacument(Unknown Source) at
com. businessobjects.wp.tc.TCMain.errorOnResultPage(Unknown Source) at
‘com. businessabjects.wp.tcthread.SubmitRSRunner run(Unknown Source) at javalang.Thread.run(Unknown Source)
‘Any mistakes from my side??
DPoste: Sun Now 28, 2010 8:10 am
ost suboct: Ra: Hing unwanted Rows in Webi Resort
Any updates?
‘Thanks
Droste: Man Rov 29,2010 10:38 am
Past abject: Re: Hig unwanted Rane in Webi Report
Make sure to apoy the fiter to the table block and not the report by salecting the entire block of data before dragsing
Your variable to the fiter box
If that isnot the problem can you share what the formulas are for [Var Colt} and [Var Col2)?
ipahwwwfrumtooes.com/busotiewtopi. php 7p=77SA82482016 Hiding unwanted Rows in Webs Roport
— Caen Yt Her 32101369
sees, ea aed tn Rees Yh ne
a
t
{ted ong the mentioned te but sl the same ero, Within the report, selected lack (where cua oa
being dispaye) ar thendregeathe deste vale to Ptr pare (anc eal 1)
1)-var pay’ Building Reports -> WebIntelligence XE -a>
page tof Avematin Star
sump to
Inder | Aout || RAG | Pray [Sear | Reger | Logi
Get community updates via Twitter: "how @SOB_Board 4 663 falowers.
, 8
Bitbucket Server
Gt repository management for Enterprise teams. Free
Teall _
sewanaertinen se
meerieeg amt resatyremaam epee
SE Se aa cour nota onn secant peas
Sh ne iz Sa hn Benn sass een a
ipahwwSrumtooes.com/busotyiewtopic. php %p=77SA82 6