Procedure

Create Query
1. Double-click Lines.
You create a subquery using the results of one query as the starting point for a
second query.
Create a new document based on the eFashion universe. Build a query using the
Lines and Margin objects.
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 1 of 9
Create Query
2. Double-click Margin.
3. Click Add a subquery .
Using the subquery technique, return those lines with a higher Margin than the
Sweaters line.
4. Click the arrow beside operators .
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 2 of 9
5. Click Greater than.
Create Query
6. Drag Lines to the subquery area.
7. Click operators .
8. Click query filter .
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 3 of 9
Notice that the default selection of operators is Equal to.
9. Click Value(s) from list.
List of Values
10. Click Sweaters.
11. Click value selection .
12. Click OK.
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 4 of 9
Create Query
13. Click Run Query.
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 5 of 9
Web Intelligence Rich Client - New Web Intelligence Document2 - [administrator -
@boetraining:6400]
14. Double-click Report Title.
Display the report title.
15. Press [Ctrl + Enter].
Launch the Formula Editor to modify the report title.
16. As required, complete/review the following fields:
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 6 of 9
Field R/O/CDescription
R
Example:
="Margin higher than the Sweaters line margin"
Replace "Report Title" with the new title in the Formula Editor.
Formula Editor
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 7 of 9
17. Click Validate .
Web Intelligence
18. Click Close.
Formula Editor
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 8 of 9
19. Click OK.
Web Intelligence Rich Client - New Web Intelligence Document2 - [administrator -
@boetraining:6400]
20. End of simulation.
The results display all lines with a higher margin than the Sweaters line.
Using Subqueries
Copyright 2008 Business Objects SA. All rights reserved. 9 of 9

.pilIny Create Query II ffi 1571 c:ll tJJ EI·"~. All rights reserved. Double-click Click Margin. return those lines with a higher Sweaters line. . Margin than the Using the subquery technique. Click the arrow beside operators --=-. ! . : Measures 11111 Sales revenue Quantity Margin sold II1II Discount Last Refresh Date: (This document has never been refreshedlL:: 2..... Add a subquery ~ ....V Which product? 1±I"1r"J Promotions B"~ l'" --==========~~"""~~========:""_----::~=-=. 3. D 4. . L ... Category SKU number SKU desc Color Unit Price MSRP Extended price • I Sold at (unit price) item? I II~FIQ""u:"'_er-y-Fi""lte-r-s '\~ • 'V Prompt for a line .~X""":::~~J drag predefined filters here or drag objects here then use the Filter Editor to define custom filters.. ~ .. ....."'7 Which category? '. 2 of 9 Copyright 2008 Business Objects SA.Business Objects Using Subqueries alii SJlJP OOllfl.IteFashion reate Query Add Query I~ I lEI I &' Run Query rfl18Fi ~ Close ~ TX~ ItHiii Time period I±Hi':l Store B"~Product ::- !±l'" L. L. __j To filter the query. .

Discount Last Refresh Date: (This document has never been refreshed. Create Query ~ Irrll5f1 reate Query ~ Add Query IMI 16»' Ilm 1 ~ Run Query . Store B. Margin L····11111 II"" Margin I Great" than All 1 0 . Click query filter Copyright 2008 Business Objects SA. ..) L. All rights reserved...lJ To filter the query. eFashion I$Hr:1 Time period $"!i':l . 8.Business Objects Using Subqueries alii SJlJP OOllfl. I &i Close !Kl T TX~ El·~J!. drag predefined filters here or drag objects here then use the Filter Editor to define custom filters. Marg~.:: 6.O "." • . V I±H~ B"~ : Promotions Measures II1II Sales revenue L Quantity sold .~ III ~ Category ~ ~ SKUnumber L ~ SKUdesc m ~ Color .V _j :---"1" L..~product . Drag Lines to the subquery area. L ~ Unit Price MSRP Extended price Sold at (unit price) Prompt for a line item? Which category' Which product? ErIQ=u=e=rY-F-il-te-rs------------~==~-------------:::~:::-:=--:X~-~~I k ~ f.. Click Greater than. 3 of 9 ..pilIny 5.

4 of 9 . 11. Notice that the default selection of operators is Equal to. 12.Business Objects Using Subqueries alii SJlJP OOllfl.::.pilIny D 9. Copyright 2008 Business Objects SA.l Select Lines(s): 0 < 1 1 IEnter your search pattern IrK T 10.. value selection [1:::::>. Click OK. All rights reserved.T-Shirts Trousers 6. Click Value(s) from list.11. List of Values list of Yalues "I !:: 1 Select Lines(s): 1 Refresh values Lines Accessories City Skirts City Trousers Dresses Jackets Leather Outerwear Overcoats Shirt Waist pweaters Sweat. Click Click Sweaters.

. Copyright 2008 Business Objects SA.. All rights reserved... Extended price Sold at (unit price) I ~f~"'u::'e-ry-F-il-te-rs-__:==========~~"""~~=========---=~::-:. Category SKUnumber SKUdesc ~ Color L." L . : Sales revenue Quantity sold Margin II1II Where II" Iml Discount Last Refresh Date: (This document has never been refreshedlL:: 13....Business Objects Using Subqueries alii SJlJP OOllfl. . 1r"J Promotions B··~ Measures 11111 I.... Unit Price MSRP .=--:X~=~~J l'" '\~ • • 'V Prompt for a line item? __j I .. Click Run Query. ~ I.IteFashion ItHiii Time period I±Hi':l Store B··~Product I±l. L :-·"111 L .J Greater than All 1 Margi!2__l ...'" Margi!2.··V Which category? ' .. 5 of 9 ... V Which product? 1±I. Lines Equal to ~ Isweaters ! .pilIny Create Query II ffi 1571 reate Query c:ll tJJ Add Query ~ I~ I lEI I rl18FiClose ~ TX~ EI·"~.

. 16.0' Report 1 'I Last Refresh Date: November 28j 2008 11: 18:26 AM GMT-08:001 ~ connectedJ . '" E112 E1[!]I!! Document2 ""'&' '" '1 T 'I:~ 1tJ '1 &..···~Form Charts Bar miwi $3.:: D D 14.pilIny Web Intelligence Rich Client .309.'g".11 Tables :.·!".[administrator @boetraining:6400] 1 JNfflt!!"i. As required.'<11 ~ I Report Elements $. Display the report title.173.. Drill • H~ Df~ M I ~ I IAr'1 X New Web Intelligence I 'IOI:H'.135 $1.. 6 of 9 ...[] :'.. 15.. Accsssortes 1 tie Iii :-----G Crossteb Edilt : Vertical Table : : BllId ~"~Line L.1.... Ail rights reserved.II.515. Double-click Report Title.317 _j .!"..881 $1. Press [Ctrl + Enter]. Report II Table . Launch the Formula Editor to modify the report title.406.. .mN3MIIM@Nfflt!!"'...ijMm'...I&..Business Objects Using Subqueries alii SJlJP OOllfl. Edit '. .'.New Web Intelligence Document2 .21 R Shirts 1 : : ilJ"'~Area ~ ...... ""'I ~ ~gl~I. E '1 '" '1 ~ • l"i'll· 1!gJ ~ 'I~~ I Refresh Data ~I §O%B :1' I ITP Track • Page "I Q.[§ . ~·····U Horizontal :I~ UiIi.1j tiP Edit Query I ii1' View Structure o~ ~ V -Q] EI-'~ ~iew [Ji'] '1 a I ~ I !@l • ~ Insert Repcrtinq TQ_015 Data !!nalysis ~indow Help r ~ 1'9 rf< ~....ij"'..'g"t..iipi!i!§'.• Pie ShirlWalsl Sweat-l- i:iJ4Radar ffi··g Free-Standing Cells : $5. complete/review the following fields: Copyright 2008 Business Objects SA...

. Operators ~ .. aeAl1 r·· Abs r·· Asc r···· Average ~ .. Formula Editor Formula Editor Formula:--------------------------------------..pilIny IField IR/o/cloescriPtion R Example: ="Margin higher than the Sweaters line margin" D Replace "Report Title" with the new title in the Formula Editor. L. r···· BlockName r·· Ceil r·· Char r···· ColumnNumber r···· Concatenation r···· Connection r···· Cos '" + < <= <> > >= 'F- r···· Count r···· Current Date r···· CurrentTime t···· Current User ~. . All rights reserved.... 7 of 9 . All And e" Description Copyright 2008 Business Objects SA..... F"Margin higher than the Sweaters line margin"l • X Data Functions New Web Intelligence Document2 Lines Margin a~. II1II ..Business Objects Using Subqueries alii SJlJP OOllfl...

._c_a_nc_e_1 __ ---' H_elp_---' Copyright 2008 Business Objects SA.. All rights reserved.. Formula Editor [51 rmula Editor Formula: "Margin higher than the Sweaters line margin" .......Concatenation ......Count ...j X ••• . != * + < <= <> = > >= .........Business Objects Using Subqueries alii SJlJP OOllfl.J All ..ColumnNumber ..Current Date ....Average ....:.@. Web Intelligence eb Intelligence The formula is correct Click Close......... ~ All And ~ I :::::::9t:::: 1 • .0 Data El·..Connection i···· ""'" Cos ...Abs . r.......pilIny 17.BlockName Ceil ..Current User Description ".Current Time ... 8 of 9 ..... Functions Operators -lt!l c· New Web Intelligence Document2 _ Lines Margin ~..Asc .Char i···· ~ ... '=i ~"··11111 FI ( ) . Click Validate m 18.

H~ Page D~~I H ~ I Drill • ~ : Templates EI-'~ .[administrator @boetraining:6400] 1AA'MII1414ffl113fflilfflMlMClllu9m.L '1§o~o§l~ -= -=I~I.iffiif!ulu!Huuu Eile ~dit ~iew Insert ~eporting T2. i L.. II...135 i ~ .Business Objects Using Subqueries Click OK. End of simulation. 'I tlP Edit 'I:~ I~~ z 'I .218 . ill. II®~ View Structure 'I ~ ~B I lIla 'IQ. ?008 11: 18:?6 AM GMT-08:00 I~ comected] il D 20.st Sweat-'r-snms ffi··g Free-Standing _j -I . alii SJlJP OOllfl.I<$I New Web Intelligence Documentz X I Ilil T 'I a I~ I~ .881 $1. Report 1] Report II II Table . l" Ilib. :·····0 Horizontal Margin higher than the Sweaters line margin 1 1±1 Crossteb .I:bt Charts : ill lId Bar : i·····[j Vertical Table gill.New Web Intelligence Document2 .[q Report 1 'I Last Refresh Date: November zs..809. "I .173. The results display all lines with a higher margin than the Sweaters line. Accessortes uresses miwi $3. 9 of 9 ........HiildrltMd!MttlHi!. 'I '" ' I"I'll..If Elements $"rJ Tables . Copyright 2008 Business Objects SA.515. . Web Intelligence Rich Client .015 Dete ~nalysis ~indow t::!elp Query o~ t ~ CV ~ ~ ~ r:f< ~' . All rights reserved..pilIny 19..···~Form ~.Pie i:8*Radar Cells snrtwa. I I <i!' Refresh Data ~~I :!' I [p Track • "I 0.~Line ~"'~Area I 1 $1.. '11:11::: .

Sign up to vote on this title
UsefulNot useful