Taking the reference of this OTN Post I thought of playing around prompts and measure columns.
The exercise is based on Sample Sales Lite SA ( XML Based SA )
Environment- OBIEE 188.8.131.52.0 ( Windows 7 -32 bit /Tested on IE 8 )
SA- Sample Sales Lite
Create an analysis of 3 columns namely
1> "Time"."Per Name Year"
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"."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.
I have to test this solution against an SA based on a relational database and perform multiple rounds of testing. Try it out - You may find some even more interesting facts. Good luck.