Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 54 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 19 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
OBIEE12c:How to select different graphs using radio button?
Hi,
I'm using OBiee12.2.1.4.0. I've a requirement to create a bar graph view with toggled functionality.
Below are the columns in my subject area:
Items, Price, Amount_paid, Balance
I've to create a toggle to switch between 'Price' & 'Balance'.
- If toggled to 'Balance', show bar graph view with top items(x-axis) with greatest outstanding Balance(y-axis).
- If toggled to 'Price', show top items with greatest price(y-axis)
Any suggestion or direction on how to proceed on this will be really appreciated.
Answers
-
You can use a "view selector" if you need 2 very different views, or a "column selector" if the charts are the same once you replaced a column by another.
0 -
I've already tried "view selector" and was having issues with sorting columns based on selected view.
In my snapshot, I've applied sorting on "Total Price for sort" and "Balance for Sort" columns. When I toggle to "Balance", it still shows the graph in desc order wrt to Total Price only. I'm not sure how sorting on columns should change based on view selection.
Attaching screenshots for reference.
0 -
0
-
Another option is to create two separate queries for the specific graphs. Use a dashboard prompt that sets a presentation variable for say, "varGraph", with two radio buttons, "Price" and "Balance". In the query filter for Price, include the filter:
'Price'='@{varGraph}{Price}' (if Price is your default)
In the Balance query, include a filter for:
'Balance'='@{varGraph}{Price}' (again, if Price is the default)
Use section Conditions to open the operative section.
0 -
Thanks Jerry for your reply. I tried this option. However it refreshes the complete dashboard and we don't want this.
0





