Refresh Interactive Report based on Flash Pie Chart selection
I have an Interactive Report:
select ename "Employee Name",
mgr "Manager
from emp e, dept d
where e.deptno = d.deptno ;
That i'd like to have filtered by MGR when a Flash Pie Chart is clicked:
select null link,
mgr label,
count(emp_id) value
from emp e, dept d
where e.deptno = d.deptno
group by mgr ;
Can someone indicate how i'd do this?
Thanks in advance!
John
Hi,
This post might help
Re: Navigable pie-chart
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Similar Messages
-
Interactive report Several series within same chart?
Hi
I'm about to develop a Chart-report showing several series within same chart
ex
serie1: Product A , amounts, dates
serie2: Product B , amounts, dates
etc.
It would be nice to use IntractiveReports in this case but is it possible?
Thanks for any tips & hints
Regards GASonHi Gunnar,
It's not actually possible to create a multiple-series chart using the Actions menu for an Interactive Report. Only single series charts can be generated using that option. You will need to generate a separate chart to handle your requirements, which you could obviously position on the same page as your Interactive Report. The advantage of generating a separate chart means that you can choose from a wider range of Flash chart types exposed via the Create wizards. We only support the generation of 4 chart types (Horizontal Bar, Column, Line, Pie) via the Charts Action menu on Interactive Reports, but we support 26 chart types (ranging from 2D Column to Gantt charts) via the Create wizards. You might find it useful to take a look at my sample application (http://apex.oracle.com/pls/apex/f?p=36648), and also the AnyChart online documentation (http://anychart.com/products/anychart/overview/) and chart gallery, for further information on charts.
I hope this helps.
Regards,
Hilary -
SSRS Report Builder 3.0 - Pie Chart
Hi,
I have Pie chart that displays Number of items by Country,
My data set is pulling the correct values.
The 3D effect is true for the pie chart and the Series Labels are set to diplay out of the Slice.
I used the collected style to be SingleSlice and not using percentages but just the values less than or = 5 to be collected to other countries slice.
for labels format I am using a column value from the query where I Concatenate the Value and Name of the country as string as I am not showing the legend on the chart for more space
All the values are showing up right except for one value for one slice which is added extra numbers at the beginning of the number part of the string.
For Example , if for USA there are 320 items it should should show up as USA - 320 as that is the value that the query bring and I double checked that. But that value dipslays USA - 12320 for some reason and this is happening only with one
label.
I might be missing somethign silly but if someone can save my time and help me it would be appreciated.
Please let me know if you have any questions.
Thanks,
ChaitanyaHi Chaitanya,
Sorry for the delay.
I am unable to reproduce the issue in my test environment. The issue seems rather odd. Here, I suggest that you create a new report and design the Pie Chart from scratch, and then check the issue again.
If the issue persists, please post the expression of the label data as well as the CustomAttributes settings of the target series of the Pie Chart.
Regards,
Mike Yin
TechNet Community Support -
Require assistance in Interactive Report based in APEX 3.2
Hi All,
Thanks in advance
I have created editable Interactive report based on Form with report .
once report created , I have modified query with the column named TempNetto ,Temp Brutto .. Below is the query
select "IDSUB",
"JAHR",
"IDMITARBEITERLISTE",
"EKPREIS",
"WEBUCHUNGEN",
(WEBuchungen*EKPreis) TempNetto , --modified
"NETTO",
DECODE((WEBuchungen*EKPreis),0,0,(Netto+(Netto*VerwaltungskostenZuschlag)+(WEBuchungen*InfrastrukturkostenZuschlag))) TempBrutto, --modified
"BRUTTO"
from "#OWNER#"."SUBS"
I receieved the below message "You have requested to change the Interactive Report query. If you added columns to the query, they will not be displayed when the report is run. You will need to use the actions menu and either select the columns or click Reset. If you removed any columns from the query, it will disable existing filters, highlight rules, and other report settings referencing those columns. Please confirm your request. "
I want the column started with temp should appear in report . I have checked under search bar Action menu is checked and options like Select column and Reset is checked
Kindly provide some help
Cheers
SachinHi,
When you've selected all the columns (Select Columns) you then need to save the report...not reset it. Go back and make sure all columns are on the right and then:
- Save Report
- As Default Report Settings
- Apply
Mike -
Interactive report based on dynamic query
Hello
I am using Apex 4.1 and have a requirement to create an interactive report based on a dynamic query. This option is available in Classic report but in Interactive this feature is not there. Tried using collections or just a view (thought of changing the view definition during "On load", but structure of the report is already defined based on the definition of the view at design time).
Is there any way of achieving this?
Appreciate any help!
Thanks
aksTry looking at this: http://rakeshjsr.blogspot.com/2010/10/oracle-apex-interactive-report-based-on.html
Thank you,
Tony Miller
Dallas, TX -
I have just created my first flash pie chart, previously the application was using svg charts.
The pie chart appears on the page but there are no colours in the chart.
Is there another step I need to complete
GusPrint screen to show? http://www.tinypic.com
Edit: I can't seem to re-create it in the apex 4.0 trial...try just creating a new graph and see if it works.
Mike
Edited by: Dird on Jan 15, 2010 10:13 AM -
Interactive Report Based On A Collection
Hi guys
Using Apex 3.2
I have a classic report based on a collection, which works fine.
I am now trying to create an interactive report based on the same query (collection), but no data is returned.
I there anything special I need to do with an interactive report.
Cheers
GusGo into Interactive Reports Actions Menu > Select Columns > Add all missing columns to right side and apply (Display In Report)
OR
Check interactive report attribute settings
Thanks -
Conditional Display of Interactive Report Based On Different SQL Query
Hello,
I have two drop down list on top of my page and below that I have a interactive report.
Based on user selection of values from drop down, interactive report should change based on different SQL queries.
Is it possible to have different SQL queries based on values from drop down and generate interactive report based on that?
ThanksI am passing my drop down value to apex_collection like the following:
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY( p_collection_name => 'IR_LIST',
p_query => REQUEST_VIEW(:P12_VIEW));However when I change the values from the drop down, :P12_VIEW is not getting the value from drop down even though I could see value being changed in URL. I have created page process for apex_collection
Process Point - OnLoad - Before Header
Run Process - Once Per Session or When ResetCould someone suggest as why I cannot get the values in function when drop down is changed?
Regards -
Interactive Report based on View
Hello!
I've just started to rewrite my Forms applications to Apex.
Based on an existing view I want to create an Interactive Report, but there is only the choice between 'Table' and 'SQL statement'.
Is there a way to use the view in a direct manner ( not in a sql statement as 'select * from VIEW)?
Regards
PietjaHello Pietja,
In my APEX env (3.2) an IR can only be based on a SQL Query. You can use the Query Builder to select a table or view, but still it ends up with a SQL Statement.
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
Refresh classic report based on select list value selected
hello,
can anyone please help me out with this issue. I have a parameterized classic report based on a select list and I want to refresh this report whenever the select list value is changed. I am using oracle apex version 3.2. i just want to have a javascript function onchange event for the select list which refreshes my report whenever a value is selected.
My select list item is p1_datastore
select distinct datastore d,datastore r from my_table1 order by 1;
My classic report query is
select * from my_table2 where datastore = :p1_datastore order by last_updated_dt desc;
****************************************************thanks,
ortoncan anyone please help me out with this issue.
thanks,
orton -
Refresh Interactive Report Definition via PLSQL
Hello!
I am currently working on set of generic database-apex applications.
That means I have two applications. The first is the admin apex application used to define columns and tables.
The second application is the one for the end users, where they can view and edit the values.
My problem now is: Every time the admin adds or removes a column I need to edit the user-apex application, open the region definition of all interactive reports and switch to the report attributes to add/remove the columns of the report.
I would like to automate this step via plsql. How can I achieve this?
I guess the first step would be to load a list of all IRs...
select * from apex_application_page_ir where application_id = 133;
But I don't know how to reload the columns...
Can anyone help?
Thanks in advance!
BR MikeHello Andre, Hello Mimi!
Thank you for your messages.
First to your idea Mimi, i think you brought me on the right track. Using your update statement doesn't works for me.
There are some missing permissions I couldn't grant and in addition I think this would hardly work because apex_application_page_ir is a complex view.
But I am currently working on a solution using the wwv_flow_worksheet_standard.synch_report_columns function. Code like this:
DECLARE
l_flow_id NUMBER (20);
l_region_id NUMBER (20);
l_query VARCHAR2 (4000);
l_result VARCHAR2 (4000);
BEGIN
SELECT application_id, region_id, sql_query
INTO l_flow_id, l_region_id, l_query
FROM apex_application_page_ir
WHERE page_id = 9 AND application_id = 133;
APEX_040100.wwv_flow_worksheet_standard.synch_report_columns (p_flow_id => l_flow_id,
p_region_id => l_region_id,
p_query => l_query,
p_add_new_cols_to_default_rpt => 'Y');
COMMIT;
END;
Unfortunately it doesn't work. When executing the synch_report_columns procedure the following error raises.
ORA-01003: no statement parsed
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1685
ORA-06512: at "SYS.DBMS_SQL", line 629
ORA-06512: at "APEX_040100.WWV_FLOW_WIZARD_API", line 840
ORA-06512: at "APEX_040100.WWV_FLOW_WORKSHEET_STANDARD", line 2735
ORA-06512: at line 23
Maybe you or someone else can reproduce the error?
Therefor you simply need an interactive report on a page, based on a view. Remove some column of the view definition-the IR will display an error like this:
ORA-20001: get_dbms_sql_cursor error ORA-00904: "DUV_FOCUS_OFFSET": invalid identifier
Then execute the code above (use your page and app_id).
After the execution the IR should work again. In my opinion...
@Andre: The application I am working on is a critical pice of software used in a highly sophisticated semiconducter fab.
It is simply impossible to train some of the shift leaders or operators on apex, in fact it is a great thread if someone else can change the application and produces a downtime.
So for me it is necessary to script everything as far as possible. I finished nearly everything, simply the synch of the report columns is missing...
BR Mike -
Interactive Report based on pl/sql function body
Can an interactive report be based on a pl/sql function body returning the query sql? Or does it have to be based directly on the SQL?
ThanksHello "unknown user",
As far is I know an Interactive Report can only be based on 'regular' SQL. If you have a Report based on a 'PL/SQL function body returning SQL' the option to migrate the report to an interactive report is not there.
Regards,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/ -
Interactive Report based on a function returning SQL query?
Hi guys!
I'm wondering if the IR based on a function returning SQL query will be available on the final release of APEX 4.0..I can't see this functionality in EA1 and EA2 and I think it should be there..dont you think?
With regards,
PsmakRHi!
You're absolutely sure you're talking about the Interactive Report region and not about the default SQL Report region ?
With regards,
PsmakR -
How to select records from Interactive Reports based on checkboxes
Referring to the link below
http://apex.oracle.com/pls/otn/f?p=31517:95
I want to select rows from the Interactve Report based on a checkbox. This demo page has 2 sections, one for classic report and other for interactive one. The classic report is able to select the whole records but the interactive report selects only the emp nos. I am looking for a functionality where I can select the whole record from the interactive report.
Any pointers will be helpful.
ThanksThat is easy. You should just modify the query:
DECLARE
v_count INTEGER := 0;
BEGIN
:p95_text_ir := NULL;
FOR i IN 1 .. apex_application.g_f20.COUNT
LOOP
v_count := v_count + 1;
FOR c IN (SELECT ename, job, mgr, sal, deptno
FROM emp
WHERE empno = apex_application.g_f20 (i))
LOOP
:p95_text_ir :=
:p95_text_ir
|| 'ID: '
|| c.empno
|| ' / '
|| 'Name: '
|| c.ename
|| ' / '
|| 'Job: '
|| c.job
|| ' / '
|| 'Manager: '
|| c.mgr
|| ' / '
|| 'Salary: '
|| c.sal
|| ' / '
|| 'Department: '
|| c.deptno
|| CHR (10);
END LOOP;
END LOOP;
:p95_text_ir := :p95_text_ir || ' / Records selected: ' || v_count;
END;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Interactive report based on a temporary table?
hi -- I'm trying to get around some performance issues using database links, and the use of global temporary tables was suggested.
However, the performance issue is in defining the query for an interactive report... and the allowable source for these seems to be more particular
than for other queries / reports.
I currently use asa collection the source of data for the IR -- works, but is SLOW for DB links.
I don't know how much benefit to expect from the use of a global temporary table... but it seems I can't
create an IR based on a temporary table... as when the query is parsed the table does not exist.
Am I missing something? Has anyone done this?
Thanks,
CarolIf you build the global temporary table and leave it in place, then it might work. Deleting and creating tables on the fly is NOT really suggested in Oracle. When you need to, you could in the page header execute a procedure to select/insert into the global temp table, since they normally clear out when your session is complete..
Thank you,
Tony Miller
Webster, TX
Maybe you are looking for
-
What's the best way to deal with db connections?
There are a few ways to do this, I'm wondering what's the most accepted / standard way. I have a DBConnection object which hands out Connection objects. When each jsp page is loading, every function which requires db access could request its own Conn
-
"Disk cannot be read from or written to" when syncing 30GB iPod
"Disk cannot be read from or written to" when syncing classic 30GB IPod. We have a few thousand songs and about 50 videos on the above ipod. Just yesterday, we received the "disk cannot be read from or written to" message when trying to sync and char
-
How do change the width of frameworkpage to 800px ?
Hello experts, I want to change the width of Portal page to 800 px and display on center, like <a href="http://www.sinopec.com.cn/">http://www.sinopec.com.cn/</a> . Is there anyone had done this? Please give me some suggestion. BR, Jianguo Chen
-
I have the first generation ipod nano and it wont respond when I touch the bottons. I can control it (switch songs, pause etc) when its plugged into my ihome and I use the remote. But otherwise it wont work! I tried restoring it and it did nothing. P
-
Importing BC4J Components in 10.1.2
No matter what I do, I cannot get this to work? Always get "Unable to load Business Components. The package xml file is not in the proper package." Anyone else having this problem? Even if a create a new 10.1.2 project, create a new VO, rebuild and s