webi报表设计高级功能_第1页
webi报表设计高级功能_第2页
webi报表设计高级功能_第3页
webi报表设计高级功能_第4页
webi报表设计高级功能_第5页
已阅读5页,还剩43页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、WebI报表设计高级功能(BW320) SAP BO顾问 2010年09月09日议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测试Web Intelligence定位SAP BI模块报表解决方案的一部分快速获取信息以帮助决策即席查询(ad-hoc query) SAP 2008 / Page 3Web Intelligence数据读取流程 SAP 2008 / Page 4习题What is a universe?List the object types used in a universe, and

2、 the kind of data returned by each type?What is the difference between a query filter and a report filter? What are the three components that make up a Web Intelligence document?What are the differences between applying breaks and sections to a report?What is a Scope of Analysis for a query? SAPPHIR

3、E 2008 OR 4238/ Page 5习题答案:1. What is a universe?Answer: A universe is the BusinessObjects semantic layer that maps to data in a database and is used for creating queries in Web Intelligence.2. List the object types used in a BusinessObjects universe, and the kind of data returned by each type.Answe

4、r: Dimension objects: Character-type data, dates, and non-aggregated numeric data, for example telephone numbers. Dimensions are the key elements of a query.Measure objects: Numeric- or fact-type dataDetail objects: Character- or date-type data (supplementary information) SAPPHIRE 2008 OR 4238/ Page

5、 6习题答案:3. What is the difference between a query filter and a report filter?Answer: A query filter is created in the Query panel to limit the data retrieved from the database; a report filter is created in the Web Intelligence Rich Client window and allows you to restrict the data shown in the repor

6、t simply by hiding the data you are not interested in.4. What are the three components that make up a Web Intelligence document?Answer: Reports, blocks (tables and charts), and the microcube of data SAPPHIRE 2008 OR 4238/ Page 7习题答案:5. What are the differences between applying breaks and sections to

7、 a report?Answer:The difference is that the grouped value appears as a header outside the block instead of remaining within the block. A break only groups within a block, whereas sectioning groups the entire report. SAPPHIRE 2008 OR 4238/ Page 8习题答案:6. What is a Scope of Analysis for a query?Answer:

8、The scope of analysis for a query is extra levels of data in an objects hierarchy that you can retrieve from the database to give more detailed data returned by each of the objects. This extra data does not appear in the initial document results, but it remains available in the data cube, or data pr

9、ovider, so you can pull this data into the report to allow you to access more detail at any time. SAPPHIRE 2008 OR 4238/ Page 9议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验Web Intelligence组合查询 SAP 2008 / Page 11使用两个查询使用集合函数对结果进行合并,作为WebI报表的数据源Web Intelligence合并查询的优缺点优点逻辑更清晰

10、可以实现一次查询无法完成的功能缺点对性能有影响Web Intelligence查询过滤器 子查询 SAP 2008 / Page 13一个过滤的操作数事先未知,依赖于另一个过滤假设场景:销售经理需要知道大于Chicago 33rd仓库的销售额的那些仓库,并且列车仓库名和它们的销售额?Web Intelligence使用多个查询 SAP 2008 / Page 14一个WebI文档可以基于多个查询(数据源),可以有多个块一个查询投射到多个块基于一个universe的多个查询基于不同universe的多个查询Web Intelligence使用多个查询 SAP 2008 / Page 15一个数据

11、块使用多个查询的数据时,得到的数据不准确融合数据以解决问题Web Intelligence合并多数据源的数据Web Intelligence数据融合: 维度的融合 SAP 2008 / Page 17议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验 SAPPHIRE 2008 OR 4238/ Page 19Web Intelligence计算上下文概念 SAPPHIRE 2008 OR 4238/ Page 20States best year amount=max(Sales revenue)We

12、b Intelligence输入计算上下文输入上下文直接包含在计算公式中的维度对象决定计算聚合的层次 SAPPHIRE 2008 OR 4238/ Page 21States best year amount=max(Sales revenue In(Year ; State)Web Intelligence输入计算上下文输入上下文直接包含在计算公式中的维度对象决定计算聚合的层次 SAPPHIRE 2008 OR 4238/ Page 22Web Intelligence输入计算上下文 SAPPHIRE 2008 OR 4238/ Page 23=Average(Sales revenue)=

13、Average(Sales revenue) In BlockWeb Intelligence输出计算上下文输出上下文写在计算公式之外从计算好的结果中选择 SAPPHIRE 2008 OR 4238/ Page 24Web Intelligence输出计算上下文议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验Web Intelligence变量 SAP 2008 / Page 26字符串函数Replace - used to replace a specified string with anothe

14、r string.Right - used to extract a given number of characters from the right.Left - used to extract a given number of characters from the left.SubStr - used to extract a string of variable length and position.Length - used to identify the length of a string.Pos - used to identify the position of a c

15、haracter in a string.Match - used to determine whether a character string matches a particular pattern.可以使用通配符? 任意一个字符* 任意多个字符Web Intelligence变量 SAP 2008 / Page 27日期函数ToDate: changes the data type of a value to dateCurrentDate: gives the date todayDaysBetween: calculates the number of days between t

16、wo dates lace - used to replace a specified string with another stringLastExecutionDate(string data_provider)FormatDate(LastExecutionDate() ; Mmmm dd, yyyy)议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验Web IntelligenceIf逻辑 SAP 2008 / Page 29If(条件;条件为真表达式;条件为假表达式)例子:=If(Quart

17、er InList(Q1;Q2); Years First Half; Years Second Half)=IfQuarter InList(Q1;Q2) Then Years First Half Else Years Second HalfWeb IntelligenceIf逻辑 SAP 2008 / Page 30应用场景:分组=IfQuarter InList(Q1;Q2) Then Years First Half Else Years Second HalfWeb IntelligenceIf逻辑 SAP 2008 / Page 31应用场景:基于条件的计算=IfState=Ca

18、lifornia Then Sales revenue*1.05 ElseIf State InList (DC ; Florida ; Illinois ; New York ; Texas ) Then Sales revenue*1.15议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑其他报表展现技术使用超链接实践练习,测验Web IntelligenceMatch()函数 SAP 2008 / Page 33=If Match(Store name ; *Sundance) Then Sundance ElseIf Match(St

19、ore name; *Magnolia) Then Magnolia Else Un- BrandedWeb IntelligenceRunning聚合函数 SAP 2008 / Page 34RunningSum, RunningAverage, RunningCount, RunningMin=RunningSum(Sales revenue)Web IntelligenceNoFilter SAP 2008 / Page 35覆盖报表使用的过滤或排序可用于计算未分类部分的值=Sum(Sales revenue)=NoFilter(Sum(Sales revenue)-Sum(Sales

20、revenue)=NoFilter(Sum(Sales revenue)议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验Web Intelligence超链接 SAP 2008 / Page 37给数据加上超级链接将当前数据作为超级链接的参数使用opendoc连接到另一个文档=a href=+http:/:8080/OpenDocument/opendoc/openDocument.jsp?+&sType=wid+&sDocName=Detailed+Sales+Report+&lsSEnter+St

21、ate:=+Replace(State ;%20) + +State+“http:/ :/:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=1234议 程复习WebI报表设计基础课程高级报表查询技术使用计算上下文利用字符和时间函数创建公式使用IF逻辑高级报表展现技术使用超链接实践练习,测验测验1 SAPPHIRE 2008 OR 4238/ Page 39使用eFasion的示例Universe,根据如下的维度和计量,创建如下格式的报表:目的: 练习交叉表,报表拆分和函数的使用,报表的格式化 SAPPHIRE 2008 OR 4238/ Pa

22、ge 40测验2使用eFasion的示例Universe,根据如下的维度和计量,创建如下格式的报表:目的: 练习报表警报的 高亮显示 SAPPHIRE 2008 OR 4238/ Page 41测验3使用eFasion的示例Universe,根据如下的维度和计量,创建如下格式的报表:目的: 练习报表的表与图的组合使用,报表节以及基于节的汇总 SAPPHIRE 2008 OR 4238/ Page 42测验4使用eFasion的示例Universe,根据如下的维度和计量,创建如下格式的报表:DocumentAuthor()函数以显示作者UserResponse()以显示报表用户输入的报表过滤参数变量Variable PLUS = 20%的Quantity Sold变量variable TOTAL =Quantity Sold与PLUS变量之和目的: 练习表头数据的显示,以及公式变量的使用测验5In a single document, build 2 queries using the following objects: Store name and Sales revenue (eFashion universe in root folder) St

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论