- Open the URL: http://localhost:9704/analytics and login as administrator user "weblogic"
- Goto the "New" -> Analysis -> "Sample Sales" and select the below 5 columns as shown:
- i.e. "Customer Name", "Product" , "Units" , "Revenue" and another "Revenue" column.
- Select the 5th column options and select "Edit formula".
- In the "Column Formula" section select "F(...)" and in the "Insert Function" window select "Aggregate" -> "Rank" so the formula shows:
- RANK("Base Facts"."Revenue") and click the "OK" button.
- Select the 4th "Revenue" column options and select "Sort" -> "Sort Descending"
- Next select the "Results" tab to show the report.
- On the "Subject Areas" menu select "New View" -> "Other Views >" -> Ticker as shown in below screenshot.
- Click on "Edit View" on the "Ticker" menu.
- Once the Ticker screen opens, click on the "Clear Fields" button to clear all fields.
- Select the "Contains HTML Markup" checkbox.
- Select "Up" for the "Direction" field.
- Enter "700" for the "Width" field and leave the "Height" field empty.
- Enter the below in text in the "Row Format" field:
<p> <font color="#000099"><b>@1</b></font> is ranked <b>#@5</b> with revenue of <font color="green"><b>@4</b></font> for selling <b>@3</b> units of <font color="#009900"><b>@2</b></font> </p>
- Cilck the "Advanced..." button.
- Enter "2" for the "Scroll Amount" field.
- Enter 1 for the "Scroll Delay" field.
- Enter below text for the "Additional Marquee Attributes" field:
onMouseEnter=this.stop(); onMouseLeave=this.start(); onmouseover=this.stop(); onmouseout=this.start(); class=TickerMarquee
- Click "OK" button to close the "Advanced Ticker Options" window.
- Then click on the "Done" button to go back to the "Results" tab with "Compound Layout".
- Click on the "Save Analysis" icon to save your report.
- Click on the "Show how results will look on a Dashboard" icon to open the window as below with the ticker box scrolling text upwards.
Summary:
Here we saw that by applying html formatting we can achieve almost what ever layout to our data columns.
No comments:
Post a Comment