Column display based on Prompt value ( Urgent Please)
Hi Gurus,
I have requirement to create the prompt based on the column, if i selected perticular column heading then i have to see the data of that column otherwise not.
Example.
column names: call attended, call droped, call time, service
Report columns
Region, call attended, call droped, call time, service, Fiscal Month
east 100 10 23 20% Jan
west 230 5 24 30% Jan
east 120 10 23 20% Feb
west 200 5 24 30% Feb
Client want to have a pivot table view and want to have the call attended, call droped, call time as values in the prompt
example if i selected in the prompt Call attended then i should report display like this
______ Jan 2011 : Feb 2011
Region
East 100 120
West 230 200
I am kind a confused and i am looking on web i didnt get any info. Please help me
Regards
Ali
Hi Gurus,
I got my answer. I followed the content of the link and i am able to slove my issue. Thought to share with communite members.
http://www.biconsultinggroup.com/obiee-tips-and-tricks/using-a-dashboard-prompt-as-a-column-selector-for-multiple-r.html
Regards
Ali
Similar Messages
-
Dispaly or Hide a column based on Prompt Value
Hi All,
How can I Display or Hide a Column based on Prompt Value selected?
On my dashboard I have a Report/Request and a Dashboard Prompt.
Dashboard Prompt has three values, say: *'A', 'B' and 'C'*.
And my report/request has three columns named *'Field1', 'Field2'* and Field3'.
What I am trying to achieve is that whenever user selects prompt values as *'A' or 'B'* all the three fields on my report named *'Field1', 'Field2' and Field3'* should be displayed, however whenever user selects prompt values as *'C'* only fields named *'Field1' and 'Field2'* should be displayed.
Thanks,
DeepakHi Bhavna,
I tried using View Selector, however I am not able to achieve the required functionality with that.
I created a Request with 3 columns in it, then I switched to criteria and added another table to that. The new table automatically got the similar 3 columns used in the first report. Now when I tried to delete one of those columns from the new report, it also got deleted from the first report.
All the views are dependent, changes made to one are reflected in other.
Can't figure it out, where am I going wrong?
Thanks,
Deepak -
Previous 4 months column need to be displayed based on prompt selection
Hi,
I have prompt named
JAN
FEB
DEC
and i have 12 columns from month1 to month 12(jan to dec)
when i select august from prompt i need to display 4 month previous of august
so my result should be
apr,may,jun,jul and august
if i select february then my result should be
jan and feb
basically i need to hide columns based on prompt selection
can i know how to do thisHi
I think you have to go for Data level Security in this case.
You have to set that Session variable in the Group/User Permissions tab so that the Group members can see only those regions data only, even if they go for a
search.
Otherwise there is nothing to restrict the user in all the directions.
You have to apply that filter on all the tables in that Subject area.
Hope this will help you.
Guys, Please correct me if I am wrong
thanks
Anand -
OBIEE and mapviewer - zoom in map based on prompt value
Hi All,
Does anybody know if it's possible to zoom in the map, based on the value selected in a dashboard prompt?
I.e. if you select a FL in the prompt can it somehow zoom into Florida?
I think this was possible in 10g with some added java script....howabout in 11G?
Regards
HakanHi,
Dynamic control of widths and heights are unfortunately not available in the 10g versions. There are some very cool enhancements to displaying charts in 11g so check these out.
What you could do is have the Chart View with multiple column and height widths. Here's what I mean:
1) Build the chart and have the default widths and heights.
2) Duplicate this view to create Chart:2 and in this view change the width and height using the General Chart Properties button.
3) Duplicate the view again to creates Chart:3 and once again change the width and height to even larger values.
4) Now build a View Selector and label each Chart View as appropriate, say "Magnification: Small, Maginification Medium, Maginification Large."
The user can then swithch to see which view best displays the columns depending on the choices selected in your prompts.
Yeah, it's not the prettiest or most elegant solution, but it is a simply workaround that doesn't take a lot of space on the dashboard and may work for you since having the ability to change the zoom to an inifinite number of levels is not necessarily a required or good thing even.
FYI..
Re: Zoom by increasing Width
Thanks
Deva -
How to filter reports based on Prompt values
Hi All,
I have requirement in dash board.
in my dash board it contains two reports which is having same column with different values.i.e.,
one report contains Input method column with CSS value,
another report contains Input method column with SFF value
and i have dashboard prompt for INPUT METHOD column.
when i need to select CSS value in prompt the first report should enable(display).second report should disable.
when i need to select SFF value in prompt the second report should enable(display).first report should disable.
But problem is when iam prompting values the 2 reports displaying same report only.Can any give solution for this one. how to solve this prob?
Thanks in Advance response .
NaveenHi,
Follow the steps from this link. I hope it will be helpfull
http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
Phani. -
Display In Between Prompts Value in Report Title
Hi All,
I want to show the in between dashboard prompt value in Report.
So that when user download the report he will come to know the date range.
I have gone through the couple of links but it does not work.
I tries the below one but when ever i am selected the to_date it reset the from date also.
http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
Thanks
NawneetI would add one thing to Saichand's solution which I use for the situation you describe. If you create two dashboard prompts one for the "from" date and the other for the "to" date and then modify your filter on the date column to be:
datecolumn >= @{From_Date} AND datecolumn <= @{To_Date}
...then you just need to add two more columns to your report to house the presentation variables. Make these columns the first two so that in your Narrative View you can reference them as "Between @1 and @2"
You don't need another report to place on top of your current one, just add the Narrative View to your existing report. -
How to do running aggr based on prompt value and how to or prompt?
Hello guys
I have some requirements that I have a report that has measures and Months and Date..
1. I have to create dashboard prompts on months and dates in such way that users can select either that want to see monthly sales or daily sales.. So the two prompts should be "or" relationship that point to the same report. If user select month from month prompt, the report will return data at monthly level; if select day on day prompt, it should return data at day level..
2. Doing running sum based on the dates selected from the prompts.
If I select day prompt as between "Feb 12th 2009" and "March 1st 2009", the report should return sales data that is the sum of all sales between "Feb 12th 2009" and "March 1st 2009".. If user select month prompt as between "Nov 2008" and "Feb 2009", the report should show the sum of all the sales from "Nov 2008" and "Feb 2009".
How would I achieve both scenarios?
Any pointer will be greatly appreciated..Hi.
Maybe you want to have dynamic group by in Answers report by choosing group by part from a dashboard prompt.
So, assume this example in which you have only one dashboard prompt that shows Day or Month character data.
Make dashboard prompt:
edit column formula: 1
control: drop-down list
show:
SELECT case when 1=2 then TIMES.CALENDAR_MONTH_DESC else *'Day'* end FROM "Normal model"
union all
SELECT case when 1=2 then TIMES.CALENDAR_MONTH_DESC else *'Month'* end FROM "Normal model"
default to - specified value: Day
set variable - presentation variable: pv_dyn_group_by
label: Group by
Now make report in Answers and we'll use dynamic column for group by depends on our presentation variable (Day or Month):
/* column 1 */
label:
I don't know how to dynamicly change column label (Month or Day) so I put just label Dynamic group by.
column formula:
case when '@{pv_dyn_group_by}' ='Day'
then EVALUATE('TO_CHAR(%1,%2)' as varchar(20), TIMES.TIME_ID, 'dd.mm.yyyy')
else TIMES.CALENDAR_MONTH_DESC
end
/* column 2 */
AMOUNT_SOLD
/* column 3 */
RSUM(AMOUNT_SOLD)
Test:
In both cases we get the same result of RSUM in the end. First we group by a TIMES.TIME_ID if we choose 'Day', second by a TIMES.CALENDAR_MONTH_DESC if we choose 'Month'.
Is that you want to?
So if you want to see month or day values to choose it (between part) you must make second prompt with something like this in show SQL results:
SELECT case when '@{pv_dyn_group_by}{Month}'='Month' then TIMES.CALENDAR_MONTH_DESC end || case when '@{pv_dyn_group_by}{Day}'='Day' then EVALUATE('TO_CHAR(%1,%2)' as varchar(20), TIMES.TIME_ID, 'dd.mm.yyyy') end FROM "Normal model" order by 1
The name of the second prompt is: '@{pv_filter}{Month}'
That will display 'Month' or 'Day'. I don't know better solution :-)
Similar is to make a between 2 prompts.
After then you must modify filter in Answers to get OR (between dates ot between months)
Regards,
Goran Ocko
http://108obiee.blogspot.com/ -
How to filter values based on prompt values
Hi Gurus,
Good Afternoon to all.After long i came back with new requirement.............Its very highly important.
I have one report in dashboard..............which is having employee head count based months.when user wants to click any month in prompt..the report should display upto previous month data..............
example..............
when user click september/2011.........the report should display data upto august/2011
when user click october/2011.............the report should diaplay data upto september/2011
could any one please give solution to resolve this issue............
Thanks & Ragards,
Naveen kumarHave a interim report having the month,previous month(calculated using case statements or addmonths function) .Make this report prompted to month. Then in your dashboard report select the month filter as 'filter based on report' and then select the calculated column of the interim report.
-
Sum rows of Column A based on distinct values of Column B
Hello everyone,
below is my xml
<ROWSET>
<ROW>
<ORDER_NO>103-4385509</ORDER_NO>
<SITE_NO>103</SITE_NO>
<ORDER_ID>4385509</ORDER_ID>
<CUSTOMER_ID>2676832</CUSTOMER_ID>
<TAX_AMOUNT>.33</TAX_AMOUNT>
<CREATED_DATE>08/20/2010</CREATED_DATE>
<USER_CREATED>TSDAL671</USER_CREATED>
<Delivery_Method>CARRY OUT STORE</Delivery_Method>
<Entered_By>TSDAL671</Entered_By>
<SKU_NO>321182</SKU_NO>
<NAME_TEXT>MGR_OVERRIDE</NAME_TEXT>
<ATTRIBUTE_ID>319</ATTRIBUTE_ID>
<ATTRIBUTE_VALUE>Override Done</ATTRIBUTE_VALUE>
<DETAIL_SEQ_NO>1</DETAIL_SEQ_NO>
</ROW>
<ROW>
<ORDER_NO>103-4385509</ORDER_NO>
<SITE_NO>103</SITE_NO>
<ORDER_ID>4385509</ORDER_ID>
<CUSTOMER_ID>2676832</CUSTOMER_ID>
<TAX_AMOUNT>.33</TAX_AMOUNT>
<CREATED_DATE>08/20/2010</CREATED_DATE>
<USER_CREATED>TSDAL671</USER_CREATED>
<Delivery_Method>CARRY OUT STORE</Delivery_Method>
<Entered_By>TSDAL671</Entered_By>
<SKU_NO>321182</SKU_NO>
<NAME_TEXT>OEDTL_TAX_INFO</NAME_TEXT>
<ATTRIBUTE_ID>314</ATTRIBUTE_ID>
<ATTRIBUTE_VALUE>441130760|441130760|441130760|1|1|1|20100820|2676832|2|SPARTS|</ATTRIBUTE_VALUE>
<DETAIL_SEQ_NO>1</DETAIL_SEQ_NO>
</ROW>
<ROW>
<ORDER_NO>103-4385509</ORDER_NO>
<SITE_NO>103</SITE_NO>
<ORDER_ID>4385509</ORDER_ID>
<CUSTOMER_ID>2676832</CUSTOMER_ID>
<TAX_AMOUNT>.18</TAX_AMOUNT>
<CREATED_DATE>08/20/2010</CREATED_DATE>
<USER_CREATED>TSDAL671</USER_CREATED>
<Delivery_Method>CARRY OUT STORE</Delivery_Method>
<Entered_By>TSDAL671</Entered_By>
<SKU_NO>412679</SKU_NO>
<NAME_TEXT>OEDTL_TAX_INFO</NAME_TEXT>
<ATTRIBUTE_ID>314</ATTRIBUTE_ID>
<ATTRIBUTE_VALUE>441130760|441130760|441130760|1|1|1|20100820|2676832|2|0035|</ATTRIBUTE_VALUE>
<DETAIL_SEQ_NO>2</DETAIL_SEQ_NO>
</ROW>
i have to display 3 rows but while doing sum of TAX_AMOUNT grouped by ORDER_ID, i need to sum only for 2 records based on the distinct value of DETAIL_SEQ
so my output should be some thing like below
ORDER_ID|TAX_AMOUNT|DETAIL_SEQ|ATTRIBUTE_ID
4385509|0.33|1|319
4385509|0.33|1|314
4385509|0.18|2|314
SUM = 0.51
Note : i cannot do distinct in the sql becuase attribute_id is different for same DETAIL_SEQ_NO.
I tired doing <?sum([xdoxslt:distinct_values(current-group()/DETAIL_SEQ_NO)]/TAX_AMOUNT)?>
it didn't work.
Can anyone please help me!!
Thanks in Advance!!That syntax wont work.
One method of doing.
<?for-each-group:/ROWSET/ROW;ORDER_NO?>
<?for-each:current-group()?>
<?ORDER_NO?> <?TAX_AMOUNT?> <?DETAIL_SEQ?> <?ATTRIBUTE_ID?>
<?end for-each?> <?xdoxslt:set_variable($_XDOCTX,'sum_attr',0)?>
<?for-each-group:current-group();DETAIL_SEQ_NO?>
<?xdoxslt:set_variable($_XDOCTX,'sum_attr', xdoxslt:get_variable($_XDOCTX,'sum_attr')+ TAX_AMOUNT)?>
<?end for-each?><?xdoxslt:get_variable($_XDOCTX,'sum_attr')?>
<?end for-each?> -
Previous month end based on prompted values
Hello All,
I need to create a SR report that shows:
Received in current month: count of Service requests recorded in current month selected. For instance if date prompt selection was March 2010 then count of SR recorded from Mar 1- 31,2010
Open Service Requests at month end Count of SRs where "Date Completion entered in system" is null as last day of month selected(eg March 31)
Carry over from Previous month: same as Open Service Request as month end less one month.( eg Feb 28)
I currently have a prompt which lets the end user choose the Month and Year they want to run the report for. I am getting the right values in my first two columns but my carry over is giving me problems. Any idea how I can write a formula for 'Carry over from Previous month'??
Any help is appreciated!
SoniaHi Max,
The carry over is causing problems. However, the formula for the month end chosen is
SUM(CASE WHEN CAST ("Service Request"."Closed Date and Time" AS DATE) IS NULL OR CAST ("Service Request"."Closed Date and Time" AS DATE) > TIMESTAMPADD (SQL_TSI_MONTH, 1, (TIMESTAMPADD (SQL_TSI_DAY, - (DAYOFMONTH(CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))), CAST ("- Service Request Custom Attributes".INDEXED_DATE_0 AS DATE))))THEN 1 ELSE 0 END)
But when I use this formula for previous month (-1).. It does not work. It gives me zero.
Thanks!
Sonia -
Dynamic Column Formula based on Prompt
Hi,
i've defined a prompt and a presentation variable associated called "Scenario". It can assume values "Actual" or "Budget"
My Subject Area contains vary dimensions and a fact table called "Productivity Measures" with following fields: "Productivity Actual" - "Productivity Budget"
I've created a report with an only field (Header: 'Productivity") which retrieves data from my "Productivity Measures" fact table.
Now i want that if Scenario value is Actual, the column formula of my field is "Productivity Measures"."Productivity Actual", otherwhise if Scenario value is Budget, the column formula of my field change dinamically to "Productivity Measures"."Productivity Budget". Is it possible? How can i do?Hi user,
Why cant you write a case statement on the column defined i.e. when you select actual you get what you want and viceversa
eg:- CASE '@{scenario}'
WHEN 'Actual' THEN 'Productivity Actual'
WHEN 'Budget' THEN 'Productivity Budget'
ELSE 'Productivity Actual'
END
In case of prompt_column you declared variable right,you can call it there or directly use column name.
Hope it helps you with this.
By,
KK
Edited by: Kranthi on Dec 16, 2010 11:21 PM -
Populating a PDF file with Database Field values - URGENT PLEASE REPLY
I have a requirement where in I hae PDF files as templates. The data for these templates is the database.
Example : a.pdf
Name :
Database table : name varchar(20)
What I want to do is read this PDF template and populate the Name with the value in the table.
Any Ideas on how to do this. Pointers/Source code would be appreciated. Hve been scrambling my head for quite a while without any lucknot a portal question..
u will need some pdf library / api - such as itext, etc -
Hierarchy display child and parent nodes -- Urgent Please
Sorry wrong forum
Message was edited by:
Shree SunderI like ListAgg :D
with RELATION(PARENT,CHILD) as(
select NULL,'A' from dual union all
select 'A', 'B' from dual union all
select 'A', 'C' from dual union all
select 'B', 'D' from dual union all
select 'B', 'E' from dual union all
select 'D', 'F' from dual union all
select 'C', 'G' from dual union all
select NULL,'H' from dual union all
select 'H', 'I' from dual union all
select 'H', 'J' from dual)
SELECT ListAgg(child,'<-')
within group(order by Level desc) as revPath
FROM relation
START WITH child = 'F'
CONNECT BY PRIOR parent = child;
revPath
A<-B<-D<-F -
SSRS 2012
Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
Starting from the 4th row, the dataset contains data to be displayed.
I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
How can I accomplish the this requirement? (this must be applied for all the columns)
ThanksHi Fasttrck2,
Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
Details information below for your reference:
Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the specific column, specify the Available values and default values by select "Get
values from a query", finally using the expression as below to get the specific value you want:
Expression(Backgroud Color):
=IIF(Parameters!Para.Value(1)="1221","red","yellow")
If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
Any problem, please feel free to ask.
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Hi Gurus,
Can i hide column based on Prompt value?
My requirement is
I have report is showing Daily/Weekly/Monthly data based on prompt value ( Prompt selected values are Daily/Weekly/Monthly)
If user select daily then report will display data every day. if user select Weekly then report will display Every week data ( Week start from Monday).
I have one more columns as Day name to display day of the week for daily report. its working fine.
but i want hide day name column when i run report for weekly.
How can i hide column based on Prompt value. is it possible in OBIEE 10.3
really appreciated for your helpHere's simpler approach. Use column selectors.
1) The first column in your column selector will be where you put your Daily/Weekly/Monthly choices.
2) In the second column, put your Day column. Add another column, doesn't matter what. I'll explain later. In the caption for this column, put in something like "Select to Hide Day column."
3) Click "OK" and put your column selector in your Compound Layout.
4) Now, select the other column in place of the Day column.
5) Now go to the criteria tab. The "second choice" column should now be there in place of the original first column. Dummy out this column and click on the "Hide" checkbox in the column properties. Change the name to "No column."
6) Now go back to Results. The user now has two choices for the Day column, either the original column (the Day column) or the "No column" choice. When the "No column" choice is selected, the column disappears from the report. Users can make the selection whenever they choose Weekly as their choice.
Maybe you are looking for
-
For the past week I have been getting emails as per below: You are currently using 14.5 GB of your total 15 GB of iCloud storage, which means that your iCloud storage is almost full. When your storage is full, device backups to iCloud will stop and a
-
Help needed in Table in Table Approach using OAF
We have a requirement in OAF wherein the results region of search page should give header details. And in header details there is a show and hide button which would show all the line details corresponding to the header (like Table – in – Table). For
-
Hard Disk not exist! But spins up ok
Hey guys, I've got a HP Pavilion DV5 1000ea, which is just over 2 years old. For the last week I've frequently had a lot of trouble booting up, it seems like the hard drive isn't being recognised. I get a message saying that there's no boot device de
-
Portal Personalize problems.
Dear experts I want Personalize link in my masthead. For that I have done the below steps. 1) Created a role. 2) Assigned portal personalization workset to that role. 3) Assigned the role to user. 4) In masthead iview I have changed the property "Sho
-
When I import from the new Sanyo VPC-FH1 with the iFrame format, iMovie 09 only imports half of the clip. Anyone else having problems with importing clips from a memory based camcorder?