Total static or dynamic pivot table
Hello experts!I have a mission to do.
I write an example to clarify my situation.
I want to do a (static or pivot) table like this:
-----------------------VALUE
-10 JANUARY
-20 FEBRUARY
MARCH - 15
....
DECEMBER - 10
GRAND TOTAL - 10
I want that TOTAL GRAND show me last month value; in this example, 10. I don't want sum
A few years in my database is set until October, so... If I show a table with total... I need to see the value of October in the OVERALL TOTAL.
What is the best way to achieve this?
Thank you!!!
Do you mean the Table Normal view?
If so,.
We don't have any control at the level of responses.
Instead, you can select 'LAST' than the rule of aggregation for the measure to the RPD.
Kind regards
Rambeau
Tags: Business Intelligence
Similar Questions
-
reg: pivot table calculation
Hello
is there a way to get the average and total calculated in the pivot table based on a column?
example,
in the time of country state id
in pivot, I want to calculate total and average for the country / state of time according to the number of id of country / state
Thank youYes, you can. Make use of elements calculated to reach.
-
Exclude a measure the total general dynamic level 'Lines' of a pivot table
Experts,
Is it possible to exclude a measure the total general dynamic level 'Lines' for a pivot table?
Version - OBIEE 10g
Kind regards
LIBERATORNo, I mean not the dropdown list above when you edit the formula in the column. It of there on 11g but don't remember off the top of my head if it is in the same place on 10g.
Paul
-
Pivot table dynamic table - chart axis of the show as "percent".
Hi all
I have a pivot table is generated, with the lines as year/month and columns like web browser. However I only watch 5 albums used, browsers so that used columns are dynamic.
I would like to show the graph as a 'percentage of line. I know that I can turn this on the data in the table, but it does not filter although in the graph. Does anyone know how to get there? Can you add the total of a line and use it in a formula?
Thanks in advanceHello
Not sure how the PivotTable, however we have may be able to pull this back as a separate column in the criteria tab which you can then use.
What is your metric name?Lets say you have Time.YearMonth, browser, count
Add another column, change the fx for this column and use sum (time.yearmonth County) - this will give you the total amount for the year regardless of browser.
Add another column and simply count / sum (time.yearmonth County) * 100 to get the percentage of the total for the year - plays about with using them in the pivot or you might get away with a straight table view?Hope this helps, another solution would be to implement a shaved basic measure to the RPD.
Published by: Alastair_PeakIndicators on March 31, 2010 08:26
-
For Timo: Dynamically create pivot table binding
Hi Timo,
Long time ago you have this announcement on a thread:
"The solution for your use a 2013 DOAG case, I presented was to create binding table pivot out user defined attributes in the table."
For the defined attributes, VO is created dynamically and the pivot link.
The pivot link is exchanged during execution as well as the activation of the adequate VO Dynamics to get only the
necessary data for the pivot table in particular.
......
I can't give you a working example because it is too complex. I can make available slides, but they are in German. "
We have the same problem.
Can you please send me this presentation on: email address removed by the moderator - there is no private through this public forum consultation >
I can't find this Presentation on the Internet.
Maybe, if you have some examples of simple work, too.
Kind regards
Diana
Diana, you can get the DOAG2013_DynamicPivotTable_virtual7 blades | JDev & ADF Goodies
The sample is too complex to be made available through my blog.
Timo
-
I created a PivotTable in which I have two columns listed in the Pivot Table guest area (formerly area pages in 10 g).
When you change the PivotTable, the layout section shows a warning next to the Pivot Table guest words icon. I clicked this icon and selected before.
The drop-down list of the column (far left) ranked first in the Pivot Table of guests watch now an entry of all values higher than retail values, as it should.
However, the drop-down list for the other column doesn't have an entry of all values .
In addition, by selecting the entry of all the values for the first column is completely HIDES the drop-down list for column 2 and the PivotTable displays a grand total of all the values for the second column.
It makes no sense at all. I want to see all values for my first column and be able to continue to select individual values for my second column, or maybe a all the values for the second column.
It there is no documentation on this feature, because the OBIEE 11 g user's Guide does not contain the string Pivot Table invites.
This signals that a bug?I have not yet explored 11g.
But in 10g so the columns in the page area are displayed as guests. The messages appear to be cascaded, so only the first column in the page area contains "All Pages" option.
Try if you can modify the XML to produce the desired effect.So I think this isn't a bug with 11g, rather inherited 10 g.
-bifacts
http://www.obinotes.com -
Calculate the % with the pivot table columns
I created an application with these columns:
I want to create a pivot table looks like this.Metric Study Fast Slow On-Target Total --------------------------------------------------------------------------------- Metric1 Study1 1 0 0 1 Metric1 Study2 1 0 0 1 Metric1 Study3 0 0 1 1 Metric1 Study4 0 0 1 1 Metric1 Study5 0 1 0 1 Metric1 Study6 0 1 0 1 Metric1 Study7 0 0 1 1 Metric1 Study8 0 0 1 1 Metric1 Study9 1 0 0 1 Metric1 Study10 1 0 0 1
The fast, slow, on the target and Total columns are calculated fields. Picky, I'm having is to get the % columns to work. I also tried create columns % in the form of columns of the table, but at each level of study, the % is 100% or 0%.Metric Fast Slow On-Target Total % Fast % Slow % On Target ------------------------------------------------------------------------------------------------------ Metric1 4 2 4 10 40 20 40
I tried with duplicate columns, all different options to display the value as. None of them worked.
Could someone help me? The version of the OBI is 10.1.3.4
Thank you
Shi-ning
Published by: SPUD on November 21, 2011 23:09Sounds like it. You will need the account of studies as a measure in the criteria. You could do something in the repository, but the fastest way is:
Criteria:
Add the study in (it will not go into the PivotTable)
create new measure based on any existing measure that has the background you need with the formula:
cases where [existing] is not null then 1 else 0 endThis will give you 1 for each line that your measure in effect is valid. Add this new measure in the PivotTable and treat it as a normal amount.
-
Hello
I need to create a named calculation in a pivot table similar in total general on columns. However, I need to customize the calculation to perform on some lines and average amount on some lines.
How can it be reached, the calculations will be appear in the same column for each row.
Can anyone help?
Thank youI don't know or force to try any time, but stuck in mind.
Contribution - ID no
9147.29 - 1
1043.16 - 1
Total 10190.45 - 2create a new column and write f (x) case when 1 = column_name 0 another amount (contribution) / sum (ID no.) end
see you soon,
KK -
10g pivot table out on the grant table
Hi, experts,
No there is no way to sort the pivot table according to the values in table of grant?
Thank you very much!example is necessary...
do you mean void totals?
I'm assuming you own m1, d1, d2, d3 etc and applying subtotals on d2 dimension...If so,.
create a column with fx:
sum (m1 d1, d2), then in the criteria tab himself sorting on... can it exclude pivot...If subtotals on d1 (d1 m1) just sum is enough...
-
How to change the default color for tables/pivot tables
Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.
It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.
Thank you.Jin
For pivot Table
Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css
Change the PivotTable section code
For table veiw
Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css
Change the section of the Table
PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread
Thank you
saichand.v -
Running sum and Pivot Table graphics
Hello Experts,
I've shown measures execution of amounts in pivot table problem is when I try to pivotted results graphic I get the original values and not the running sum values. Is there a way to get around this or another way to do?
Thank you
Published by: ZaidN on June 29, 2010 07:20Do the following things.
(1) to restart all services
(2) use the resume function it shows the cumulative graph also
(3) accumulation of usage view on measure it in pivot does ' t shows resume graphic because the sum of runnung dynamically apply in pivot table, but the table takes the column.
...................
Vincent V -
Gasoline and pivot table uses in OBIEE
Hello people,
Please help understand what PIVOTTABLE DYNAMIC and CALIBER in OBIEE answers
in what cases or scenario will be used for these things.
and what is the CASE in OBIEE, where it is used and what is its purpose.
Thanks in advance
JMsThe pivot table view is an interactive view which allows you to rotate the lines, columns and headers to get different perspectives of the data section. PivotTables is navigable and percables and is particularly useful for trend reports.
Gauges are useful to show the performance against objectives. Gauge types supported include dial and bar style light bulb gauges.
CASE statement is used for conditions, its use is the case when x = y end doubts... Its similar IF statement in programming.
-Madan
-
create the table mytable
(
name varchar2 (50).
name varchar2 (50)
)
Insert the table mytable values ('mary', 'john')
Insert the table mytable values ('mary', 'baby')
Insert the table mytable values ('mary', 'lady')
Insert the table mytable values ('sean', 'kate')
Insert the table mytable values ('sean', 'terry')
Insert the table mytable values ('kate', 'tom')
Insert the table mytable values ('kate', 'lary')
.
.
.
my result of the query is
last name first name
Jean-Marie
baby Marie
Lady Mary
Sean kate
Sean Terry
Tom Kate
Kate lary
I want to like this
Mary kate sean
John tom kate
baby terry lary
Lady
It's not all data.
the data are changeable.there are 3 name as name like sean John 2 2 lik kate and it will be 5 name like paul... I want as column name and surname as the data...
Thanks for your help...
Hello
Try this:
WITH number_rows AS ( SELECT name , surname , ROW_NUMBER () OVER ( PARTITION BY name ORDER BY surname ) AS r_num FROM mytable ) SELECT r_num , MAX (CASE WHEN name = 'mary' THEN surname END) AS mary , MAX (CASE WHEN name = 'sean' THEN surname END) AS sean , MAX (CASE WHEN name = 'kate' THEN surname END) AS kate FROM number_rows GROUP BY r_num ORDER BY r_num;
The output is not quite what you asked:
. R_NUM MARY SEAN KATE ---------- ---------- ---------- ---------- 1 baby kate lary 2 jon terry tom 3 lady
You do not have to display r_num: I showed just to make things easier to understand.
If the output should really include "Jean" rather than "jon", or if it should appear above 'baby', rather than below, so please explain.If the names in columns ("Mary", "sean" and "kate" in your sample data) should be determined at run time, you need dynamic SQL statements to generate a statement like the one above.
The script below shows one way to do this in SQL * more./* How to Pivot a Table with a Dynamic Number of Columns This works in any version of Oracle The "SELECT ... PIVOT" feature introduced in Oracle 11 is much better for producing XML output. Say you want to make a cross-tab output of the scott.emp table. Each row will represent a department. There will be a separate column for each job. Each cell will contain the number of employees in a specific department having a specific job. The exact same solution must work with any number of departments and columns. (Within reason: there's no guarantee this will work if you want 2000 columns.) Case 0 "Basic Pivot" shows how you might hard-code three job types, which is exactly what you DON'T want to do. Case 1 "Dynamic Pivot" shows how get the right results dynamically, using SQL*Plus. (This can be easily adapted to PL/SQL or other tools.) */ PROMPT ========== 0. Basic Pivot ========== SELECT deptno , COUNT (CASE WHEN job = 'ANALYST' THEN 1 END) AS analyst_cnt , COUNT (CASE WHEN job = 'CLERK' THEN 1 END) AS clerk_cnt , COUNT (CASE WHEN job = 'MANAGER' THEN 1 END) AS manager_cnt FROM scott.emp WHERE job IN ('ANALYST', 'CLERK', 'MANAGER') GROUP BY deptno ORDER BY deptno ; PROMPT ========== 1. Dynamic Pivot ========== -- ***** Start of dynamic_pivot.sql ***** -- Suppress SQL*Plus features that interfere with raw output SET FEEDBACK OFF SET PAGESIZE 0 SPOOL p:\sql\cookbook\dynamic_pivot_subscript.sql SELECT DISTINCT ', COUNT (CASE WHEN job = ''' || job || ''' ' AS txt1 , 'THEN 1 END) AS ' || job || '_CNT' AS txt2 FROM scott.emp ORDER BY txt1; SPOOL OFF -- Restore SQL*Plus features suppressed earlier SET FEEDBACK ON SET PAGESIZE 50 SPOOL p:\sql\cookbook\dynamic_pivot.lst SELECT deptno @@dynamic_pivot_subscript FROM scott.emp GROUP BY deptno ORDER BY deptno ; SPOOL OFF -- ***** End of dynamic_pivot.sql ***** /* EXPLANATION: The basic pivot assumes you know the number of distinct jobs, and the name of each one. If you do, then writing a pivot query is simply a matter of writing the correct number of ", COUNT ... AS ..."\ lines, with the name entered in two places on each one. That is easily done by a preliminary query, which uses SPOOL to write a sub-script (called dynamic_pivot_subscript.sql in this example). The main script invokes this sub-script at the proper point. In practice, .SQL scripts usually contain one or more complete statements, but there's nothing that says they have to. This one contains just a fragment from the middle of a SELECT statement. Before creating the sub-script, turn off SQL*Plus features that are designed to help humans read the output (such as headings and feedback messages like "7 rows selected.", since we do not want these to appear in the sub-script. Turn these features on again before running the main query. */
-
Difference between static and dynamic encryption card
Anyone tell me the difference between static and dynamic encryption card?
Hi Rodrigo,
Public static crypto map - identifies by the peers and traffic to encrypt explicitly. Generally used to host some tunnels with different profiles and characteristics (different partners, sites, location)
So, when you have the information of the two peers than what policies we're going to use, what is the IP on both devices we normally use static VPN.
Crypto dynamic map - is one of the ways to accommodate peer sharing the same characteristics (for example, several offices of branches share the same configuration) or peers with dynamic IP addressing (DHCP, etc.)
For more information, please visit:
https://supportforums.Cisco.com/document/12013476/crypto-map-based-IPSec...
Kind regards
Aditya
Please evaluate the useful messages and mark the correct answers.
-
Using VPN L2L static and dynamic dedicated tunnels
We have an ASA 5510 running 8.0 at our company headquarters. We have remote sites who need to create VPN L2L at the HQ ASA tunnels. Some remote sites have static IP addresses and others have dynamic IP addresses.
I found documentation Cisco L2L static IP VPN tunnels and make them work. I found another Cisco documentation for static IP dynamic L2L VPN tunnels using the tunnel-group "DefaultL2LGroup".
My question is, can you have two types of tunnels on the same ASA L2L? If so, simply by using the definitions of "DefaultL2LGroup" tunnel-group and
of tunnel-group work? Is there a reason to not do? Is better technology (ASA HQ and a combination of ASA 5505 and 1861 at remote sites) available? Yes, you can have both types of tunnels L2L. If you use a PSK - remember that the IP address of the remote site is used to 'validate' to connect to Headquarters. As long as you use a sure PSK = 64 characters and all with upper/lower case alpha numeric - you should be OK.
A better way to do it - is to get the static IP addresses for the site that currently have DHCP from ISP.
HTH >
Maybe you are looking for
-
I have no idea why, but as of last night and today, even after the update to the latest version of Skype, the program crashes as soon as it starts. Erase the app gets it to work the first time that I run, but after that, it crashes again unless I hav
-
HP Pavilion DV7 6b78us: how to upgrade the BIOS on win 7 DV7?
How the bios update I have 64 bit win 7 do not want to upgrade to 10 again.
-
How can I get my start andtask back bar to the bottom of my screen?
my taskbar moved to the top of the screen and I won't back down.
-
I lost my internet ion in the toolbar
I lost my internet ion in the toolbar. How can I get that back on the toolbar. It is the ion that shows if you connected at the local level and, or through the internet. He was here for a few days. All is well with the internet. just no ion in the to
-
Windows Media Player will no longer play videos WVM from my local computer.
Windows Media Player will no longer play videos WVM from my local computer. It just hangs and the circle keeps going around and around. I "ve waited nine minutes and the video never played WVM. I don't get the error messages.