Column color in a dynamic report
Hi,
I have a report with a dynamic number of columns (50 to 100).
Now I need different background colors for certain columns not only the text but the whole table field (<td>).
Is there anywhere an example, what I have to do?
thanks,
Elke
I generate the query by a function (PL/SQL Function Returning SQL Query).
I have to report on timetable of schools. Per age group I have to report per subject (e.g. sport, mathematics,...) the number of lessons and the number of lessons without teacher - one row per age group.
In different schools are different subjects possible -> the report have different number of columns.
Now I need one background color for number of lessons and another background color for the number of lessons without teacher.
In the template (standard) I have only one "<td>".
In css-class (column attributes) I can set a class per column. The background color is changed only behind the number not the whole field.
Which css-classes on wich places I have to change?
Elke
Similar Messages
-
Fixed columns in dynamic report ( ?horizontal-break-table:1? )
Hi
I have a dynamic report that could strech over more than one page horozontally. I use the <?horizontal-break-table:1?> tag on my first header column to show this on every page, but I also need to show the last column on every page. That meens that I have a fixed column on each end of my dynamic report, the last one is just a signatur field so its no logic to it , but its important to show it on every page.
Any tips on this ?
PS.
Sry if this is a noob question, this is not really my knowlegde area, but have to fix it anyhow :)
TimRobert,
It sounds like you want a completely populated table regardless of the input data. To achieve you will need to create a "dummy table" in your database, either as an actual table, or by just doing a view, it's your choice. Here is a method for the view:
select '2009-M01' as Dim1
union
select '2009-M02' as Dim1
union
select '2009-M12' as Dim1
Next you'll have to introduce this to your universe as a "dummy table". In WebI, go to Edit Query and click add query, then add Dim1 to your result objects panel. After you run your query you can perform Merge Dimensions on Dim1 to the first dimension from your report, and voila, you'll have a fully populated table.
Thanks,
John -
Dynamic Report with Hundreds of Columns in APPS -- Possible ?
I am working on a design of building a dynamic report with up close to 1000 columns in Oracle MFG. Depending on the number of item parameters user entered, the report could have 100, 200, 500, up to 1000 columns. User wants the report exported to EXCEL to do analysis.
Is this huge report possibly built and run in Oracle APPS? What are the major issues and limitations involved and what attentions I should give to design and build? Thanks in advance.Since formatting is not important, I would use pl/sql. Pl/sql is better suited for dynamic sql. With utl_file you can write the results of your dynamic query to a csv fiel for import in Excel.
-
Dynamic report column groupings
I'm builing an application that has a report based upon dynamic sql. It adds four columns for each store in the chain but as I don't want to redo the program everytime we add another store I am building that query string using a loop to add each extra set of columns.
That works fine but to make the data readable I want to add columns groupings above the column headers. I can do this by adding a tag like this:
*<th class="t5ReportHeader" colspan="4"> Academy </th>*
for each store to the "Before Column Heading" section of my report template but that puts me back to modifying the app everytime we add a new store.
Is there a way to modify the report template at runtime or somehow tie it to a variable that I can change so I can generate a set of tags in my application?Nudge
-
Dynamic reporting, time dependent columns
Hello,
We are trying to make some dynamic reports, for example with the columns: the last six months , quarter, current year, last year etc etc (a half year report). Is it possible to give in a year\period which is the "current period", so that all dynamic (time) columns are relative from this date. This because it is not known in which month the work is done (and the cubes updated) and the reports are run.
Regards.If so,.....
1)create a variable on Time Char (instead the Business Content Variable) with manual input mandatory
2)insert an 'OFFSET'
For example:
a) create a variable on calmonth
b) create a new selection in column
__b.1) insert your KF in selection
__b.2) insert new variable of calmonth in selection
__b.3) change offset of variable, i.e. for six month write -6
Hope it helps!
C@f
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. -
Hi Team,
I Have one requirement,In SSRS Reporsitory 3000 reports are available.
My end user requirement All 3000 reports are used Table names & columns list of each wise to display single table or single result set.
I find out all 3000 reports details are diplayed single results set like
Report Id,Path,Dataset,Source Query Text,Datasource
In Source Query Text column level All reports Queries are available but I want Each Report wise Table name & columns List.If any solution Please share me.
Regards
RamaHi Ramakoteswara,
According your description, you want to show used tables and columns of each report, and display is into a single result set. Right?
In this scenario, we don't know where to find a column contains the Source Query Text. With my understanding, in Reporting Services, we have Catalog table in ReportServer DataBase, it has a column called Content stores the report code (.xml). In the
code we can find the Query and Fields. Then you need to use VB/C# code to parse each .xml code of each report and fetch out the table name and columns. We do not support writing any queries against SSRS DataBase or parsing data records in any
table.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Default Style Column Breaking in an Interactive report
In a normal SQL report there are two types of column break formatting:
1) Default Breaking Format e.g.
aaa 123
456
bbb 789
123
2) Repeat Headings e.g.
aaa
123
456
bbb
789
123
Interactive reports seem to only implement Repeat Headings . Is it possible to break columns in an IR report using "Default Breaking Format"? If so how?
thanks
PaulPJB wrote:
Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
Oracle Application Express (APEX)
As interactive reports lack the HTML Expression feature of standard reports, the simple way to do this unfortunately requires violating the separation of concerns and generating structural (a <tt>span</tt> element) and presentational (an in-line style sheet) aspects in the query:
select
⋮
, case
when trunc(calling_date,'DD') = trunc(sysdate,'DD')
then
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span style="color: #3399FF;">' || to_char(calling_date) || '</span>'
else
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span>' || to_char(calling_date) || '</span>'
end calling_date
⋮For number/date columns to be properly sortable, the leading edge of the column must be an HTML comment that provides the required sort order using character semantics, as shown here.
The Display As column attribute for such columns must be set to Standard Report Column.
This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
Other approaches involve using Dynamic Actions/jQuery/JavaScript, or using the built-in highlight as suggested above, then saving the highlighted report as the default. -
Conditional Column Formatting in an Interactive Report?
Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
I simply want to change the color of the text depending on whether a column has a value (eg. Error or Problem).
ThanksJB wrote:
Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
Oracle Application Express (APEX)
As interactive reports lack the HTML Expression feature of standard reports, the simple way to do this unfortunately requires violating the separation of concerns and generating structural (a <tt>span</tt> element) and presentational (an in-line style sheet) aspects in the query:
select
⋮
, case
when trunc(calling_date,'DD') = trunc(sysdate,'DD')
then
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span style="color: #3399FF;">' || to_char(calling_date) || '</span>'
else
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span>' || to_char(calling_date) || '</span>'
end calling_date
⋮For number/date columns to be properly sortable, the leading edge of the column must be an HTML comment that provides the required sort order using character semantics, as shown here.
The Display As column attribute for such columns must be set to Standard Report Column.
This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
Other approaches involve using Dynamic Actions/jQuery/JavaScript, or using the built-in highlight as suggested above, then saving the highlighted report as the default. -
How to switch off column coloring of alv grid printouts?
Hello World!
Is there any possibility (a customizing option or a parameter) to switch off cell/column coloring of alv grid printouts?
It is very useful to see colored columns in screens, but they are darkened in printouts. How to avoid it?
Thanks and regards,
VladimirHi,
You can have different layouts for a ALV report and each layout the look and feel can be different.
So, the manual activity is the user will have to switch to the B/W layout before printing. I am not sure if you have enabled the LAYOUT option for the user to change it by himself.
I hope I am able to get across my point.
If you are using OO ALV control, you can dynamically change the layout using set_frontend_layout method. The user can also change the layout --
choose Change layout or Settings ® Layout ® Change.
The Change Layout dialog box shows you which columns are currently displayed and which additional columns can be displayed.
Regards,
Ravi
Note - Please mark the helpful answers
Message was edited by: Ravikumar Allampallam -
How to use both Static and dynamic Reports in WAD using a single template.
Hi,
I have 2 reports - Report1 & Report2. Report1 is a static report with 3 column in it. In WAD user does not want to see the third series in the chart so I have made series3 invisible in the chart.
I am calling the Report2 via 'SET_DATA_PROVIDER_PARAMETERS' in the button option.
Now the issue is that, Report2 is a dynamic report which is using a calyear vaiable range. As Report2 is using the template of Report1, Series3 of Report2 also gets hidden.
Any solution for this?
Thanks
NishaHi Nisha,
After setting the Report 2 DP thru SET_DATA_PROVIDER_PARAMETERS, you can use one more command SET_ITEM_PARAMETERS on the Chart webitem & edit the Series to make it visible. If there is a way to reset the DP back to Report 1, then you must once again use SET_ITEM_PARAMETERS to hide the Series.
Or you can use another Chart webitem for Report 2 DP & make the Chart webitem for Report 1 hidden & the Chart webitem for Report 2 visible using SET_ITEM_PARAMETERS after setting Report 2 DP using SET_DATA_PROVIDER_PARAMETERS.
--Priya -
Javascript popup in dynamic report
Hello,
I want to be able to use Javascript popup window from a dynamic report in Apex 4.0. Is there anything built-in to help me out? Or should I use my own javascript function in the header and call it?
My idea would be that one column would have a icon with a link that calls a javascript function to popup a window.
Any suggestions?
Thanks all
Btw, what is the markup for scripts, again?Try:
javascript:popupUR -
Hi ,
would I be able to change the complete column color
dynamically (it does'nt work using the Advanced Datagrid --
styleFunction property) I am able to change the color of the
text of a specific column dynamically (
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_04.html#230321)
but not the background color of the column.
Can any body provide some help on this (changing the
background color of the column dynamically)
thanks"nash99" <[email protected]> wrote in
message
news:gfhuls$s1c$[email protected]..
> Hi ,
> would I be able to change the complete column color
dynamically (it
> does'nt work using the Advanced Datagrid --
> styleFunction property) I am able to change the color of
the text of a
> specific column dynamically
> (
http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_04.html#230
> 321) but not the background color of the column.
>
> Can any body provide some help on this (changing the
background color of
> the
> column dynamically)
Just look and see what column it is and change its background
color... -
Financial Reporting Studio: Formula for percentages in Dynamic report
Hi,
I have a formula problem in Financial Reporting Studio vers. 9.20.582. I created a dynamic report with four columns:
1. Column: Entities
Entity A, Entity B
2. Column: Accounts
Account A, Account B, Account C
3. Column A: Accounts
Data for a selected period
4. Column B: Formula
Percentage Account B to Account A and Account C to Account A per each Entity
My question is: Could I create a formula in 4th column that shows a percentage of Account B in comparison to Account A for each Entity (everything in one cell)?
Because when I use for example the Formula Percentoftotal([a], [a,1(1)]) it shows for second entity B the wrong percentages.
I hope this was understandable.
Thank you very much for your help.
Chris
Edited by: user8009251 on 14.04.2010 00:45
Edited by: user8009251 on 14.04.2010 00:46Hi
Good question? I think, there is a solution.
You can use the concept of multiple grid here.
Please keep the referred grid at one place and use another grid where you want the formulas.
Please mail me for further info: [email protected] -
Hi, I would like to know how can I create a dynamic report where de user defines de columns to display in the report, this is for a client's report, where each client wants a diferent information, from the same table.
Than youYes it is possible.
Follow the steps below.
1. Create query with all columns.
2. Create parameter for each column(ex: col1_param,col2_param etc..)
3. Write format trigger for each column in which you check the parameter value for that column.if it is to be selected then return true else return false.
IF :col1_param = 1 then
return true ;
else
return false;
end if;
4. If the column1 is not selected and column2 , column 3 are selected, then column2 has to be printed in place of column1 and column 3 has to be printed in place of column 2 .
To achieve this create Anchors between Column1,2,3 by setting the anchor property horizontally collapse = YES.
Hope this helps you.
If you are interested I can send you example Report.RDF
Sridhar -
Hi to all
I want to create a dynamic reporting tool , in which user can add & delete no of columns from database table and for selected columns , user want to generate reports. Can any one give me idea about Java API or any other API that we can use in java application for dynamic reporting. Please give me reference example for suggested API if possible. I shall be very thankfull for your support & guidence.
Preetsocmag_Java_developer wrote:
I want to create my own GUI reporting tool in java. Can you suggest me any Java API with some examplesIf you mean "*Standard* Java API", don't you find suggestions and examples in the first answer?
Maybe you are looking for
-
Looking for a W7 T500 Lenovo app/driver checklist.
I have my T500 loaded with W7 PRO 64. It came with Vista Ultimate 32. I have a list of the drivers and apps that came with the Vista preload. Is there a list or cross reference some where that I can use to make sure I got all the pieces and parts of
-
Day of Defeat[SOLVED]
Hi there! I have a problem with running Day of Defeat Steam version under Wine. Installation goes well, but when I try to start the game it goes to main screen, hangs for few seconds and then goes back to Steam. Console gives out: err:ole:CoGetClassO
-
Pinning items in a phone layout in Muse
I created a desktop version of my site. But in creating my phone layout, it will not let me pin my background, logo or menu on the Master plan. The pinning tool stays grayed out. Any particular reason for that?
-
Publishing and subscribing to ICS calendars
Is there a way to publish calendars that others can subscribe to? The only thing I know how to do with the iCal server even a little bit is CalDAV, but that doesn't seem to allow subscriptions. Also, I can't find a place where it just says the user (
-
Block material when processing through Workflow
Hi Experts! I am using workflow for creating different views for material master. My problem is : till all views of material creation completed, it should not allow any body to use this material in any transaction. but material can be viewed with MM0