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 3,Web Intelligence数据读取流程, SAP 2008 / Page 4,习题,What is a universe? List the object types used

2、 in a universe, and 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 Analysi

3、s for a query?, SAPPHIRE 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

4、returned by each type. Answer: 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 data Detail objects: Character- or date-type data (supplementary informatio

5、n), SAPPHIRE 2008 OR 4238/ Page 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 re

6、strict the data shown in the report 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

7、between applying breaks and sections to 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. Wha

8、t is a Scope of Analysis for a query? Answer: 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

9、remains available in the data cube, or data provider, 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,使用两个

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

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

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

13、APPHIRE 2008 OR 4238/ Page 22,Web Intelligence输入计算上下文, SAPPHIRE 2008 OR 4238/ Page 23,=Average(Sales revenue),=Average(Sales revenue) In Block,Web Intelligence输出计算上下文,输出上下文 写在计算公式之外 从计算好的结果中选择, SAPPHIRE 2008 OR 4238/ Page 24,Web Intelligence输出计算上下文,议 程,复习WebI报表设计基础课程 高级报表查询技术 使用计算上下文 利用字符和时间函数创建公式 使

14、用IF逻辑 高级报表展现技术 使用超链接 实践练习,测验,Web Intelligence变量, SAP 2008 / Page 26,字符串函数 Replace - used to replace a specified string with another 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

15、 a string of variable length and position. Length - used to identify the length of a string. Pos - used to identify the position of a character in a string. Match - used to determine whether a character string matches a particular pattern. 可以使用通配符 ? 任意一个字符 * 任意多个字符,Web Intelligence变量, SAP 2008 / Pag

16、e 27,日期函数 ToDate: changes the data type of a value to date CurrentDate: gives the date today DaysBetween: calculates the number of days between two dates lace - used to replace a specified string with another string LastExecutionDate(string data_provider) FormatDate(LastExecutionDate() ; Mmmm dd, yy

17、yy),议 程,复习WebI报表设计基础课程 高级报表查询技术 使用计算上下文 利用字符和时间函数创建公式 使用IF逻辑 高级报表展现技术 使用超链接 实践练习,测验,Web IntelligenceIf逻辑, SAP 2008 / Page 29,If(条件;条件为真表达式;条件为假表达式) 例子: =If(Quarter InList(Q1;Q2); Years First Half; Years Second Half) =IfQuarter InList(Q1;Q2) Then Years First Half Else Years Second Half,Web Intelligen

18、ceIf逻辑, SAP 2008 / Page 30,应用场景:分组 =IfQuarter InList(Q1;Q2) Then Years First Half Else Years Second Half,Web IntelligenceIf逻辑, SAP 2008 / Page 31,应用场景:基于条件的计算 =IfState=California Then Sales revenue*1.05 ElseIf State InList (DC ; Florida ; Illinois ; New York ; Texas ) Then Sales revenue*1.15,议 程,复习W

19、ebI报表设计基础课程 高级报表查询技术 使用计算上下文 利用字符和时间函数创建公式 使用IF逻辑 其他报表展现技术 使用超链接 实践练习,测验,Web IntelligenceMatch()函数, SAP 2008 / Page 33,=If Match(Store name ; *Sundance) Then Sundance ElseIf Match(Store name ; *Magnolia) Then Magnolia Else Un- Branded,Web IntelligenceRunning聚合函数, SAP 2008 / Page 34,RunningSum, Runni

20、ngAverage, RunningCount, RunningMin =RunningSum(Sales revenue),Web IntelligenceNoFilter, SAP 2008 / Page 35,覆盖报表使用的过滤或排序 可用于计算未分类部分的值,=Sum(Sales revenue) =NoFilter(Sum(Sales revenue)-Sum(Sales revenue) =NoFilter(Sum(Sales revenue),议 程,复习WebI报表设计基础课程 高级报表查询技术 使用计算上下文 利用字符和时间函数创建公式 使用IF逻辑 高级报表展现技术 使用超

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

22、验,测验1, SAPPHIRE 2008 OR 4238/ Page 39,使用eFasion的示例Universe,根据如下的维度和计量,创建如下格式的报表: 目的: 练习交叉表,报表拆分和函数的使用,报表的格式化, SAPPHIRE 2008 OR 4238/ Page 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变量之和 目的: 练习表头数据的显示,以及公式变量的使用,测验5,In a single document, build 2 q

温馨提示

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

评论

0/150

提交评论