Beruflich Dokumente
Kultur Dokumente
Topics
Complex Objects Creating Dynamic Dimensions Simplifying Hierarchy Navigation Techniques for Combining Incompatible Data Strategies for Testing Complex Designs Managing and Maintaining Complex Universes Questions
Complex Objects
Embedding HTML or RDBMS Function in Your Object
Embedding HTML
<a href=http://www.website.com>|| table_name.column_name ||<a> Dont forget to set format to Read as HTML
Get_max_date(time.time_date)
Complex Objects
Using Your Time Objects to Create Complex Measure Objects
CY Oct Sales
Potential issues
(CASE WHEN SUM(dbo.CLFY_DAY_TBL.DOWNTIME) = 0 THEN 6 WHEN SUM(dbo.CLFY_DAY_TBL.TOTALTIME) = 0 THEN 0 WHEN (SUM(dbo.CLFY_DAY_TBL.DOWNTIME) / SUM(dbo.CLFY_DAY_TBL.TOTALTIME)) >= 0.5 THEN 0 ELSE ROUND(SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) /SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2))) - ((2.515517 + 0.802853 * (SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) / SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2)))) + 0.010328 * POWER((SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) /SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2)))), 2))) / ((1 + 1.432788 * (SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) / SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2)))) + 0.189269 * POWER((SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) /SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2)))), 2) + 0.001308 * POWER((SQRT(LOG (1 / POWER((SUM(dbo.CLFY_DAY_TBL.DOWNTIME) / SUM(dbo.CLFY_DAY_TBL.TOTALTIME)), 2)))), 3))) + 1.5, 2) END)
http://<ServerName>/wi/bin/iswi.dll/WIGenerator/wige nerator/generator/OpenDocument?sDocName=<DocN ame>&sDocType=W&iDocId=<DocId>&sRepoName=< DomainName>&sOpen=Y&lsS<PromptNamet1>=<Val ue1>&lsM<PromptName2>=<Value2>&lsM<PromptNa me3>=<Value3> Object format as Read as Html
Explanation
Explanation of bracketed items and names above: ServerName : Webi server name. sDocType : Type of target report (WebI report: sDocType=W, BO report: sDocType=R). sDocName : document name in the repository. iDocId : Document ID in the repository (you can found it if you check the document URL link in corporate document) DomainName : Document domain name. PromptName1,2 : Prompt name Value1,2,3 : Value of the prompt lsS is a single select prompt and lsM is muti choice prompt : //lsCBS single choice prompt answer //lsCBMi multiple choice prompt number i answer // lsCBR -> refresh LOV, only one allowed
Example
For this example, Ive just modified the demo universe E Fashion. It is call now opendoc. Create an object call citylink in opendoc: Citylink = '<a href="http://lab46/wi/bin/iswi.dll/WIGenerator/wigener ator/generator/OpenDocument?sDocName=opend2&s DocType=R&iDocId=109&sRepoName=Document&sO pen=Y&lsSCity='+Agg_yr_qt_mt_mn_wk_rg_cy_sn_sr _qt_ma.City+'">'+Agg_yr_qt_mt_mn_wk_rg_cy_sn_sr _qt_ma.City+'</a>' Remark: I use a prompt call City
Issue 2, July 1999
=If (IsNull(<Sigma D>)) Then <Daily Bulb> Else "<a href=" & Char(34) & "http://3.205.5.25/wi/bin/iswi.dll/WIGenerator/wigenera tor/generator/OpenDocument?sDocName=SDaily&sD ocType=R&iDocId=34&sRepoName=Document&sOpe n=Y&lsSProcess=" &<Process(Query 1 with GECIS)>& "&IsSCoe=" & <Coe(Query 1 with GECIS)> & Char(34) & ">" &<Daily Bulb> & "</a>
Variable Format -????
Issue 2, July 1999
=If (IsNull(<Sigma D> )) Then "<IMG SRC="& Char(34) & "/images/Black1.gif" & Char(34) & ">" Else If (<Sigma D> >=4.2) Then "<IMG SRC="& Char(34) & "/images/Green1.gif" & Char(34) & ">" Else If (<Sigma D> >=4.0 And <Sigma D> <4.2) Then "<IMG SRC="& Char(34) & "/images/Yellow1.gif" & Char(34) & ">" Else If (<Sigma D> >=0 And <Sigma D> <4.0) Then "<IMG SRC="& Char(34) & "/images/Red1.gif" & Char(34) & ">"