Tuesday, January 1, 2013

[OBIEE 11g] Measure prompt


 
Measure prompt


This example is based on Sample Sales Lite


SA- Sample Sales Lite 

Create an analysis of 3 columns namely


1> "Time"."Per Name Year" 
2>"Base Facts"."Revenue"  
3>"Base Facts"."Revenue"

 
 

I would rename the columns ( no. 2 & 3 ) as shown in the snapshot below.




Column formula of column no 2 




Column formula of column no 3 ( You can have complex calculation - In the given example I have used a very simple one ) 





 Save the report. [R1]



Go back to home page and once again navigate to Sample Sales Lite SA.Take 2 to 3 measures for example in the analysis and capture their names from the respective column formulae.We would need this while creating a dashboard prompt. Look at the below snapshot.







"Base Facts"."Revenue"
"Base Facts"."Billed Quantity"
"Base Facts"."Discount Amount"



Now go to dashboard prompt editor.Select the option Variable Prompt.Add the details as shown in the below snapshot.



 

Save the prompt and pull it on the dashboard with the report R1.

 

Select the first measure ( Revenue ) and hit apply.You will see the Revenue measure values getting populated in the second column while values of 3rd column would base upon the 2nd column that we select from the prompt.
 







You may find blogs on changing the column name dynamically.



 

No comments:

Post a Comment