You are on page 1of 2

my query takes 30 min to refresh ...

there is any performance tunning is there to


reduce refresh time?
1.make sure to have the right context
2.There are various strategies like creating indexes to the columns, creating aggregate tables, creating filters
(usually on date columns)
3.Use aggregate Awareness.
4.Partioning the tables
5.Reduce the user defined objects
6.Always use the conditions, avoid string concatenations.
7. do not use more then one sub-query for the single report, this would help you in access the report faster
8.Use of possible short cut joins.
9. check for any traps in the universe.
10. Avoid too much of Report level formulae.

How to create S.No variable which starts from 1 ?


I am trying to create S.No. column for a report by writing this formulae 
=RowIndex() Where (="2002")But is generating S.No starting from 0 (not from 1).
1.Thanks for your reply but it did not work by your way. Instead it worked by this way 

             =RowIndex()+1

2. Create a new variable in report. =RunningCount( Body ; Row ).

How we drill up week to Month?


1.First you set in report levelcustomer hierarchies and then using drill mode

2. click scope of analysis-> select by hierarcy radio button -> check boxes of year and month -> click ok ->run-
>generate report-> click drill tab ->you will get another report with drill symbol on it -> open it-> right click on
the table-> play around.

[3.Create a Dimension with the following defination


Select 
@select(salesmonth) where
@Select(SalesWeek) = @Prompt('Select a Week','A','SalesWeek',Mono,)

depending upon the week selected you will be able to drill up to the month.]
4.in data warehouse when u change + symbol to - , u would c all the aggregation level in that + this is called
rolling down.
So if u again click over that - it would again compressed back to +. This is call drill up.
your Aggregation levels woudl b like
Year>Month>Week>Day>Hour>Minutes>Seconds.
So by changing the symbol from - to + at month aggregation level u can drill up.]

what is the diferrence between slice and dice & drill through
1. slice and dice means change the postion of the data like move the data from rows to columns
drill mode means allow u to analyze the data in different angles and different levels of details.
2. Slice and dice allows us to show and hide the objects. Where as drill allows us to drill the data like drill
up, drill down, drill through depending upon the user requirements.
3. Slice and dice is used for data manipulation and Drill through is used for Data analysis.

what all will be exported to the repository, when we export a universe ?


classes, objects, connection& security information. when we export a universe first time,a unique identifier is
allocated to the universe and this identifier is updated on the local version of the universe in the universe domain
.
If we export the universe to a diff,domain and now the universe has an identifier for diff-domain (EX:exporting a
universe from a development domain to a production domain).
when a designer exports  the universe to the Repository (universe domain) they must export all the related LOV
files(which contains the data values associated with an object) to the document domain.
What is the difference between Sort and Filter function
1. In Report if we use sort it will disply only either asending ordar ordecending order.where as in Filter, it
is an condition that limits the amount of data that can displyed in the report.Those records that satisfy
the condition only are displyed in the record.
2. For example in your case if you sort data by Ascending order it will show up like this..1,3,3,5,...and so
on. 
But if you filter data to not show greater than 5 your report will not show that data above 5.
3. diff b/n sorting and ranking is : if u apply a sort on a particular object , that object will get sorted
according to the order given by you either ascending or descending. where as rank is u cant directly
apply a rank on single object , it is u r giving rank to a dimensional  object (eg: ename) based on
measure (salary). directly you cant give rank to salary.

Shortcut Joins
short cut joins are used to improve the query performance at universe level.
Suppose if we have 4 tables A,B,C and D

A--->B---->C---->D and  there is a chance to link A--->D  but we should not link (causes loop) and we need data
from the tables A and D then it will get the data in the path A--->B---->C---->D , it consumes lot of time and
resources.

In this case instead of linking A---->D using normal join we should link A and D by using short cut join and this
will not create any loop and get the data in the path 
 A--->D, it consumes less time and resources.

As per my knowledge shortcut join will resolve the loop automatically.

You might also like